TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tensorflow::ops::Empty::Attrs

#include <array_ops.h>

Optional attribute setters for Empty.

Summary

Public attributes

init_ = false
bool

Public functions

Init(bool x)
TF_MUST_USE_RESULT Attrs
If True, initialize the returned tensor with the default value of dtype.

Public attributes

init_

bool tensorflow::ops::Empty::Attrs::init_ = false

Public functions

Init

TF_MUST_USE_RESULT Attrs tensorflow::ops::Empty::Attrs::Init(
  bool x
)

If True, initialize the returned tensor with the default value of dtype.

Otherwise, the implementation is free not to initializethe tensor's content.

Defaults to false