Home
last modified time | relevance | path

Searched full:numtotensor (Results 1 – 20 of 20) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/
H A Dpeephole.cpp138 if (input_node->kind() == prim::NumToTensor) { in optimizeBlock()
141 " (x.NumToTensor() == x) is replaced with ", in optimizeBlock()
H A Derase_number_types.h14 // - prim::TensorToNum, aten::Float, aten::Int and prim::NumToTensor nodes
H A Derase_number_types.cpp55 case prim::NumToTensor: { in EraseNumberTypesOnBlock()
H A Dremove_inplace_ops.cpp117 if ((shape_node->kind() == prim::NumToTensor) && in ImplicitCastForBinaryInplaceOps()
H A Dshape_analysis.cpp609 case prim::NumToTensor: { in propagateNode()
/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_dtype_analysis.py59 # create_traced_fn generates prim::NumToTensor nodes in graph (not supported yet)
/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A Dinterned_strings.h99 _(prim, NumToTensor) \
/aosp_15_r20/external/pytorch/torch/csrc/jit/mobile/
H A Dpromoted_prim_ops.cpp240 mobile::prim_op_fn_register("prim::NumToTensor.Scalar", numToTensorScalar),
/aosp_15_r20/external/pytorch/test/mobile/model_test/
H A Dmodel_ops.yaml400 prim::NumToTensor.Scalar: 18
H A Dcoverage.yaml1080 prim::NumToTensor.Scalar: 15
/aosp_15_r20/external/pytorch/torch/_export/
H A Dconverter.py884 # Converts prim::NumToTensor as aten.scalar_tensor.
885 # prim::NumToTensor IRs are currently triggered by:
/aosp_15_r20/external/pytorch/torch/jit/
H A D_shape_functions.py1241 "prim::NumToTensor.Scalar(Scalar a) -> Tensor", zero_dim_tensor
1243 add_shape_compute_mapping("prim::NumToTensor.bool(bool a) -> Tensor", zero_dim_tensor)
/aosp_15_r20/external/pytorch/
H A Dpt_ops.bzl194 "prim::NumToTensor.Scalar",
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/static/
H A Dops.cpp2819 prim::NumToTensor,
2823 torch::schema("prim::NumToTensor.Scalar(Scalar s) -> Tensor")) || in __anon11f46a8b9702()
2825 torch::schema("prim::NumToTensor.bool(bool a) -> Tensor"))) { in __anon11f46a8b9702()
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/interpreter/
H A Dcode_impl.h829 case prim::NumToTensor: in emitNode()
/aosp_15_r20/external/pytorch/benchmarks/static_runtime/
H A Dtest_static_runtime.cc3008 %3 : Tensor = prim::NumToTensor(%1) in TEST()
3022 %3 : Tensor = prim::NumToTensor(%1) in TEST()
3036 %3 : Tensor = prim::NumToTensor(%1) in TEST()
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/
H A Dregister_prim_ops.cpp485 TORCH_SELECTIVE_SCHEMA("prim::NumToTensor.Scalar(Scalar a) -> Tensor"),
2412 TORCH_SELECTIVE_SCHEMA("prim::NumToTensor.bool(bool a) -> Tensor"),
H A Dserialized_shape_function_registry.cpp3263 {"prim::NumToTensor.Scalar(Scalar a) -> Tensor", "zero_dim_tensor"}, in GetShapeFunctionMappings()
3264 {"prim::NumToTensor.bool(bool a) -> Tensor", "zero_dim_tensor"}, in GetShapeFunctionMappings()
/aosp_15_r20/external/pytorch/torch/csrc/jit/ir/
H A Dir.cpp1846 Node* result = create(prim::NumToTensor, {value}); in createNumToTensor()
/aosp_15_r20/external/pytorch/torch/csrc/jit/frontend/
H A Dir_emitter.cpp500 std::make_shared<CastValue>(TensorType::get(), prim::NumToTensor)}, in getSugaredVar()