Home
last modified time | relevance | path

Searched refs:replaceInputWith (Results 1 – 16 of 16) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/
H A Dfrozen_conv_folding.cpp128 conv->replaceInputWith(conv_w_value, fused_conv_w); in FoldFrozenConvBatchnorm()
129 conv->replaceInputWith(conv_b_value, fused_conv_b); in FoldFrozenConvBatchnorm()
272 add_or_sub->replaceInputWith( in FoldFrozenConvAddOrSub()
287 conv->replaceInputWith(conv_b_value, fused_conv_b); in FoldFrozenConvAddOrSub()
343 mul_or_div->replaceInputWith( in FoldFrozenConvMulOrDiv()
357 conv->replaceInputWith(conv_weight_value, fused_conv_weight); in FoldFrozenConvMulOrDiv()
381 conv->replaceInputWith(conv_b_value, fused_conv_bias); in FoldFrozenConvMulOrDiv()
H A Dfrozen_linear_folding.cpp124 linear->replaceInputWith(linear_w_value, fused_linear_w); in FoldFrozenLinearBatchnorm()
125 linear->replaceInputWith(linear_b_value, fused_linear_b); in FoldFrozenLinearBatchnorm()
H A Dautocast.cpp174 node->replaceInputWith(input, new_input); in castTensorInputs()
183 node->replaceInputWith(input, new_input); in castTensorInputs()
H A Dinteger_value_refinement.cpp147 n->replaceInputWith(input_v, refine_constant); in RefineIntegerValues()
H A Dbailout_graph.cpp180 adj_iter_ctr->node()->replaceInputWith(one, new_lv.currentTripCount()); in buildBailOutLoop()
H A Dfrozen_ops_to_mkldnn.cpp629 n->replaceInputWith(input, mkldnn_tensor_value); in replaceInputWithMKLDNNTensor()
642 n->replaceInputWith(input, mkldnn_tensor_value); in replaceInputWithMKLDNNTensor()
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/onnx/
H A Dfixup_onnx_controlflow.cpp38 consumer_node->replaceInputWith(cond_val, cast_node->output()); in InsertCastForCond()
141 sub_block->return_node()->replaceInputWith( in ConvertSequenceDependencies()
241 block->return_node()->replaceInputWith(output, id_node->output()); in FixupONNXSubblockOutputs()
344 node->replaceInputWith(input, opt_node->output()); in FixupONNXLoopNodeInputs()
H A Dscalar_type_analysis.cpp337 n->replaceInputWith(input, const_node->output()); in UpdateScalarTypeForInputs()
346 n->replaceInputWith(input, cast_node->output()); in UpdateScalarTypeForInputs()
H A Dpeephole.cpp929 origLogSoftmaxNode->replaceInputWith( in fuseLogSoftmaxNllLoss()
1015 b->return_node()->replaceInputWith(out, id_node->output()); in insertIdentityForInputUsedAsOutput()
/aosp_15_r20/external/pytorch/torch/csrc/jit/codegen/onednn/
H A Ddefer_size_check.cpp57 node->replaceInputWith(input, shapePreserveOp->output(0)); in analyzeNode()
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/
H A Dautodiff.cpp537 node->replaceInputWith(input, lifted_constant->output()); in liftConstants()
583 node->replaceInputWith(input, size); in foldSizeIfNotEqual()
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dpython_ir.cpp664 .NS(replaceInputWith) in initPythonIRBindings()
/aosp_15_r20/external/pytorch/torch/csrc/jit/ir/
H A Dir.h594 void replaceInputWith(Value* from, Value* to);
H A Dir.cpp1431 void Node::replaceInputWith(Value* from, Value* to) { in replaceInputWith() function in torch::jit::Node
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/quantization/
H A Dinsert_quant_dequant.cpp539 user->replaceInputWith(dequant_out, std::get<2>(quant_ops)->output()); in ReplicateChooseQParamsQuantDequant()
/aosp_15_r20/external/pytorch/torch/_C/
H A D__init__.pyi.in803 def replaceInputWith(self, from_: Value, to: Value) -> None: ...