DriftTexture · function

networkWeightCount

How many weights and biases a shape needs, laid out layer by layer.

Explained in DriftTexture.

function networkWeightCount(shape: NetworkShape): number
import { networkWeightCount } from '@driftengine/texture';

Parameters

ParameterTypeDescription
shapeNetworkShape