Home
last modified time | relevance | path

Searched refs:rescale_op (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dconvert_tfl_uint8.cc192 auto rescale_op = builder.create<tosa::RescaleOp>( in convert_graph_uint8_tensor() local
200 Operation *op_rescale_op = static_cast<Operation *>(rescale_op); in convert_graph_uint8_tensor()
202 tmp_val.replaceAllUsesWith(rescale_op.getResult()); in convert_graph_uint8_tensor()
315 auto rescale_op = builder.create<tosa::RescaleOp>( in convert_graph_uint8_tensor() local
323 Operation *op_rescale_op = static_cast<Operation *>(rescale_op); in convert_graph_uint8_tensor()
326 tmp_val.replaceAllUsesWith(rescale_op.getResult()); in convert_graph_uint8_tensor()
Dlegalize_utils.cc38 auto rescale_op = rewriter.create<tosa::RescaleOp>( in buildRescale() local
46 return rescale_op.getResult(); in buildRescale()
107 auto rescale_op = rewriter.create<tosa::RescaleOp>( in buildRescaleOpConvOutput() local
114 return rescale_op.getResult(); in buildRescaleOpConvOutput()
148 auto rescale_op = rewriter.create<tosa::RescaleOp>( in buildRescaleOpConvOutput() local
155 return rescale_op.getResult(); in buildRescaleOpConvOutput()
Dlegalize_common.cc669 Value rescale_op = buildRescale(rewriter, op, rescale_type, lhs_val, in convertConcatV2Op() local
673 lhs_val = rescale_op; in convertConcatV2Op()
679 Value rescale_op = buildRescale(rewriter, op, rescale_type, rhs_val, in convertConcatV2Op() local
683 rhs_val = rescale_op; in convertConcatV2Op()
714 Value rescale_op = buildRescale(rewriter, op, rescale_type, rhs_val, in convertConcatV2Op() local
718 rhs_val = rescale_op; in convertConcatV2Op()
Dlegalize_tfl.cc2815 Value rescale_op = buildRescale( in matchAndRewrite() local
2819 rewriter.replaceOp(op, {rescale_op}); in matchAndRewrite()