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