Skip to content

Commit c4d91be

Browse files
doc
1 parent a777f54 commit c4d91be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nncf/experimental/torch2/function_hook/graph/build_graph_mode.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ def register_op_input(self, arg: Any, node_id: int, port_id: int, op_meta: OpMet
274274
:param node_id: Id if operation node.
275275
:param port_id: Port id of input argument.
276276
:param op_meta: Metadata about the operation.
277-
:return: Descriptor of the input. For a Tensor, this is a `TensorMeta` object.
278-
For a collection of Tensors, a collection of `TensorMeta` objects is returned.
279-
For other types, the original input `arg` is returned as-is.
277+
:return: Descriptor of the input.
278+
For a Tensor, this is a `TensorMeta` object.
279+
For other types, the original input `arg` is returned as-is.
280280
"""
281281
if isinstance(arg, torch.Tensor):
282282
self.register_op_input_tensor(arg, node_id, port_id, op_meta)

0 commit comments

Comments
 (0)