MCPcopy Create free account
hub / github.com/pytorch/executorch / to_cpp

Method to_cpp

kernels/test/test_case_gen.py:178–179  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

176 return self.val
177
178 def to_cpp(self):
179 return f"Scalar({self.val})"
180
181
182class OptScalar(ArgType):

Callers 1

argument_to_cpp_codeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected