MCPcopy Create free account
hub / github.com/cogentcore/core / Shape

Method Shape

tensor/tensor.go:33–33  ·  view source on GitHub ↗

Shape returns a pointer to the shape that fully parametrizes the tensor shape

()

Source from the content-addressed store, hash-verified

31
32 // Shape returns a pointer to the shape that fully parametrizes the tensor shape
33 Shape() *Shape
34
35 // Len returns the number of elements in the tensor (product of shape dimensions).
36 Len() int

Callers 15

SetTableMethod · 0.95
CopyShapeFromMethod · 0.65
Projection2DValueFunction · 0.65
Projection2DSetFunction · 0.65
CopyShapeFromMethod · 0.65
StringMethod · 0.65
CopyShapeFromMethod · 0.65
ColTensorBlankMethod · 0.65
MinSizeMethod · 0.65
RenderMethod · 0.65
MinSizeMethod · 0.65
RenderMethod · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 3

TestAdd3DColFunction · 0.52
TestTableHeadersFunction · 0.52
TestReadTableDatFunction · 0.52