MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Shape

Struct Shape

tensorflow/go/shape.go:29–31  ·  view source on GitHub ↗

Shape represents the (possibly partially known) shape of a tensor that will be produced by an operation. The zero-value of a Shape represents a shape with an unknown number of dimensions.

Source from the content-addressed store, hash-verified

27// The zero-value of a Shape represents a shape with an unknown number of
28// dimensions.
29type Shape struct {
30 dims []int64
31}
32
33// ScalarShape returns a Shape representing a scalar.
34func ScalarShape() Shape {

Callers 3

CreateTestGraphFunction · 0.50
TestShapePropagationMethod · 0.50

Calls

no outgoing calls

Tested by 3

CreateTestGraphFunction · 0.40
TestShapePropagationMethod · 0.40