DriftTexture · function

graphShapes

Every value's shape — inputs, tensors and intermediates — refused, with the reason, if invalid.

Explained in DriftTexture.

function graphShapes(graph: NetworkGraph): ReadonlyMap<string, readonly number[]>
import { graphShapes } from '@driftengine/texture';

Parameters

ParameterTypeDescription
graphNetworkGraph