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

Function ScalarShape

tensorflow/go/shape.go:34–36  ·  view source on GitHub ↗

ScalarShape returns a Shape representing a scalar.

()

Source from the content-addressed store, hash-verified

32
33// ScalarShape returns a Shape representing a scalar.
34func ScalarShape() Shape {
35 return Shape{dims: make([]int64, 0)}
36}
37
38// MakeShape returns a Shape with the provided size of each dimension.
39//

Callers 3

TestShapeFunction · 0.70
scalarAttributeFunction · 0.70
ShapeMethod · 0.70

Calls 1

makeFunction · 0.85

Tested by 1

TestShapeFunction · 0.56