MCPcopy Create free account
hub / github.com/pytorch/pytorch / add_tensor_sequence

Method add_tensor_sequence

torch/backends/_nnapi/serializer.py:517–519  ·  view source on GitHub ↗
(self, jitval, values)

Source from the content-addressed store, hash-verified

515 self.operation_args.extend(inputs + outputs)
516
517 def add_tensor_sequence(self, jitval, values):
518 assert jitval not in self.tensor_sequences
519 self.tensor_sequences[jitval] = values
520
521 def add_constant_value(self, jitval, ctype, value):
522 assert jitval not in self.constants

Callers 2

add_list_constructMethod · 0.95
add_tuple_constructMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected