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)
| 1382 | // shape is unconstrained. |
| 1383 | // If not specified, defaults to <unknown_rank:true > |
| 1384 | func 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 | // |
no outgoing calls