TensorFlow 2.0 RC is available Learn more

tf.ConfigProto.Experimental

View source on GitHub

Class Experimental

Aliases:

  • Class tf.compat.v1.ConfigProto.Experimental

__init__

__init__(**kwargs)

Properties

collective_deterministic_sequential_execution

bool collective_deterministic_sequential_execution

collective_group_leader

string collective_group_leader

collective_nccl

bool collective_nccl

disable_thread_spinning

bool disable_thread_spinning

executor_type

string executor_type

recv_buf_max_chunk

int32 recv_buf_max_chunk

share_cluster_devices_in_session

bool share_cluster_devices_in_session

share_session_state_in_clusterspec_propagation

bool share_session_state_in_clusterspec_propagation

use_numa_affinity

bool use_numa_affinity

Methods

ByteSize

ByteSize()

Clear

Clear()

ClearField

ClearField(field_name)

DiscardUnknownFields

DiscardUnknownFields()

FindInitializationErrors

FindInitializationErrors()

Finds required fields which are not initialized.

Returns:

A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. "foo.bar[5].baz".

FromString

@staticmethod
FromString(s)

HasField

HasField(field_name)

IsInitialized

IsInitialized(errors=None)

Checks if all required fields of a message are set.

Args:

  • errors: A list which, if provided, will be populated with the field paths of all missing required fields.

Returns:

True iff the specified message has all required fields set.

ListFields

ListFields()

MergeFrom

MergeFrom(msg)

MergeFromString

MergeFromString(serialized)

RegisterExtension

@staticmethod
RegisterExtension(extension_handle)

SerializePartialToString

SerializePartialToString(**kwargs)

SerializeToString

SerializeToString(**kwargs)

SetInParent

SetInParent()

Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.

UnknownFields

UnknownFields()

WhichOneof

WhichOneof(oneof_name)

Returns the name of the currently set field inside a oneof, or None.

__eq__

__eq__(other)