Home
last modified time | relevance | path

Searched defs:ArgumentSpec (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/
H A Dargument_spec.h73 struct ArgumentSpec { struct
74 ArgumentSpec(size_t num_flat_tensor_inputs, size_t num_flat_optional_inputs) in ArgumentSpec() function
82 void addOptional(const IValue& input) { in addOptional()
88 void addTensor(const IValue& input, bool with_grad) { in addTensor()
126 bool operator==(const ArgumentSpec& spec) const { argument
144 size_t numTensors() const { in numTensors()
170 // ArgumentSpecCreator takes an initial graph and comes up with a set argument
171 // of simple instructions to compute the ArgumentSpec given a set of argument
/aosp_15_r20/external/pytorch/torch/export/
H A Dgraph_signature.py55 ArgumentSpec = Union[ variable
522 def to_input_spec(inp: ArgumentSpec) -> InputSpec:
547 def to_output_spec(idx: int, o: ArgumentSpec) -> OutputSpec:
/aosp_15_r20/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.h88 ArgumentSpec(const std::string &name, const size_t minCount, const size_t maxCount, in ArgumentSpec() function
/aosp_15_r20/external/tensorflow/tensorflow/java/src/gen/cc/
H A Dop_specs.h65 ArgumentSpec(const string& op_def_name, const Variable& var, const Type& type, in ArgumentSpec() function
/aosp_15_r20/external/executorch/exir/serde/
H A Dexport_serialize.py1053 def serialize_argument_spec(self, x: ep.ArgumentSpec) -> Argument:
/aosp_15_r20/external/pytorch/torch/_export/serde/
H A Dserialize.py1083 def serialize_argument_spec(self, x: ep.ArgumentSpec) -> Argument: