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

Function PlaceholderShape

tensorflow/go/op/wrappers.go:1384–1388  ·  view source on GitHub ↗

PlaceholderShape sets the optional shape attribute to value. value: (Optional) The shape of the tensor. If the shape has 0 dimensions, the shape is unconstrained. If not specified, defaults to

(value tf.Shape)

Source from the content-addressed store, hash-verified

1382// shape is unconstrained.
1383// If not specified, defaults to <unknown_rank:true >
1384func PlaceholderShape(value tf.Shape) PlaceholderAttr {
1385 return func(m optionalAttr) {
1386 m["shape"] = value
1387 }
1388}
1389
1390// A placeholder op for a value that will be fed into the computation.
1391//

Callers 2

TestPlaceholderFunction · 0.85
TestShapeAttributeFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestPlaceholderFunction · 0.68
TestShapeAttributeFunction · 0.68