tf.compat.v1.lite.OpHint.OpHintArgumentTracker

View source on GitHub

Conceptually tracks indices of arguments of "OpHint functions".

tf.compat.v1.lite.OpHint.OpHintArgumentTracker(
    function_name, unique_function_id, node_name_prefix, attr_name, level=1,
    children_inputs_mappings=None
)

The inputs and arguments of these functions both use an instance of the class so they can have independent numbering.

Args:

Methods

add

View source

add(
    arg, tag=None, name=None, aggregate=None, index_override=None
)

Return a wrapped tensor of an input tensor as an argument.

Args:

Returns:

A tensor representing the wrapped argument.

Raises: