tensorflow::ops::Placeholder::Attrs

#include <array_ops.h>

Optional attribute setters for Placeholder.

Summary

Public attributes

shape_ = ::tensorflow::PartialTensorShape()
PartialTensorShape

Public functions

Shape(PartialTensorShape x)
TF_MUST_USE_RESULT Attrs
(Optional) The shape of the tensor.

Public attributes

shape_

PartialTensorShape tensorflow::ops::Placeholder::Attrs::shape_ = ::tensorflow::PartialTensorShape()

Public functions

Shape

TF_MUST_USE_RESULT Attrs tensorflow::ops::Placeholder::Attrs::Shape(
  PartialTensorShape x
)

(Optional) The shape of the tensor.

If the shape has 0 dimensions, the shape is unconstrained.

Defaults to