TensorFlow 2.0 RC is available Learn more

tf.profiler.GraphNodeProto

View source on GitHub

Class GraphNodeProto

Aliases:

  • Class tf.compat.v1.profiler.GraphNodeProto

__init__

__init__(**kwargs)

Child Classes

class InputShapesEntry

Properties

accelerator_exec_micros

int64 accelerator_exec_micros

children

repeated GraphNodeProto children

cpu_exec_micros

int64 cpu_exec_micros

devices

repeated string devices

exec_micros

int64 exec_micros

float_ops

int64 float_ops

input_shapes

repeated InputShapesEntry input_shapes

name

string name

output_bytes

int64 output_bytes

parameters

int64 parameters

peak_bytes

int64 peak_bytes

requested_bytes

int64 requested_bytes

residual_bytes

int64 residual_bytes

run_count

int64 run_count

shapes

repeated TensorShapeProto shapes

tensor_value

TFProfTensorProto tensor_value

total_accelerator_exec_micros

int64 total_accelerator_exec_micros

total_cpu_exec_micros

int64 total_cpu_exec_micros

total_definition_count

int64 total_definition_count

total_exec_micros

int64 total_exec_micros

total_float_ops

int64 total_float_ops

total_output_bytes

int64 total_output_bytes

total_parameters

int64 total_parameters

total_peak_bytes

int64 total_peak_bytes

total_requested_bytes

int64 total_requested_bytes

total_residual_bytes

int64 total_residual_bytes

total_run_count

int64 total_run_count

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)