- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for new_conv2d (0.1 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc
conv_op) { return failure(); } Value new_shape_of = rewriter.create<shape::ShapeOfOp>( mul_op.getLoc(), shape_of_op.getType(), new_conv); shape_of_op.replaceAllUsesWith(new_shape_of); rewriter.replaceOp(mul_op, {new_conv}); } return success(); } }; class FuseMhloConvolutionPass : public PassWrapper<FuseMhloConvolutionPass, OperationPass<func::FuncOp>> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 22:21:19 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py
'Path to write the genereated register op file and MLIR file.') flags.DEFINE_bool('gen_register_op', True, 'Generate register op cc file or tfr mlir file.') @Composite( 'NewConv2D', inputs=['input_: T', 'filter_: T', 'bias: T'], attrs=[ 'stride_w: int', 'stride_h: int', 'dilation_w: int', 'dilation_h: int', 'padding: {"SAME", "VALID"}', 'act: {"", "RELU", "RELU6", "TANH"} = ""'
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 20:23:51 UTC 2023 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
RankedTensorType::get( {static_cast<int64_t>(transposed_output_shape_i32.size())}, rewriter.getI32Type()), transposed_output_shape_i32)); auto new_conv = rewriter.create<TF::Conv2DBackpropInputOp>( conv_op.getLoc(), output_type, output_sizes, filter, conv_input, rewriter.getI64ArrayAttr(strides), /*use_cudnn_on_gpu=*/rewriter.getBoolAttr(true),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0)