Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for conv_2d (0.22 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

    func.func @testConv2D(tensor<256x32x32x3xf32>, tensor<16x3x3x3xf32>, tensor<16xf32>) -> tensor<256x32x32x16xf32> {
    ^bb0(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<16x3x3x3xf32>, %arg2: tensor<16xf32>):
      // CHECK: "tfl.conv_2d"(%arg0, %arg1, %arg2)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      const auto& subgraph = model_.subgraphs[0];
      auto conv_op = subgraph->operators[0].get();
      const int input_tensor_idx = 0;
      const int weights_tensor_idx = 1;
      const int bias_tensor_index = 2;
      const int output_tensor_idx = 0;
      const auto bias_tensor =
          subgraph->tensors[conv_op->inputs[bias_tensor_index]].get();
      const auto input_tensor =
          subgraph->tensors[conv_op->inputs[input_tensor_idx]].get();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        in the flatbuffer.
      }];
    
      let arguments = (ins I32Attr:$buffer_index);
    
      let results = (outs AnyTensor:$output);
    }
    
    def TFL_Conv2DOp : TFL_ConvOp<"conv_2d", "Convolution", 0,
          [DeclareOpInterfaceMethods<InferTypeOpInterface>,
           DeclareOpInterfaceMethods<TFL_ArithmeticCount>,
           DynamicRangeQuantizedOpInterface]> {
      let arguments = (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // Canonicalization includes const folding, which is utilized here to optimize
      // away ops that can't get constant folded after PrepareTF pass. For example,
      // tf.Conv2D is split into tf.Transpose and tfl.Conv2D.
      pass_manager->addNestedPass<mlir::func::FuncOp>(
          mlir::createCanonicalizerPass());
      pass_manager->addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. RELEASE.md

    *   Fixes a `CHECK` fail in `tf.sparse.cross` ([CVE-2022-35997](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35997))
    *   Fixes a floating point exception in `Conv2D` ([CVE-2022-35996](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35996))
    *   Fixes a `CHECK` fail in `AudioSummaryV2` ([CVE-2022-35995](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35995))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      %0 = "tf.Conv3D"(%arg0, %arg1) {padding = "SAME", strides = [1, 1, 1, 1, 1]} : (tensor<?x?x?x?x?xf32>, tensor<?x?x?x?x?xf32>) -> tensor<?x?x?x?x?xf32>
      func.return %0: tensor<?x?x?x?x?xf32>
    
      // CHECK-LABEL: conv3d_valid
      // CHECK:  %[[CST:.*]] = "tfl.no_value"() <{value}> : () -> none
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

            %device_launch = "tf_device.cluster_func"(%input,...) {func = @_func,...)
            return ...
          }
          func @_func(%input: tensor<2x224x224x3xf32>, %filter: tensor<7x7x3x64xf32>) {
            %6 = "tf.Conv2D"(%input, %filter)  {strides = [1, 2, 2, 1]}: (tensor<2x230x230x3xf32>, tensor<7x7x3x64xf32>) -> tensor<2x112x112x64xf32>
          }
        }
        ```
    
        The program will be transformed into:
    
        ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        if (add.getType() != op.getType()) {
          add = rewriter.create<tensor::CastOp>(loc, op.getType(), add);
        }
        rewriter.replaceOp(op, {add});
        return success();
      }
    };
    
    // Conterts tf.Conv2D to mhlo.dynamic_conv.
    // TODO(disc): To recover static special case's performance with adding folding,
    // canonicalization func and removing ConvertConvOp.
    template <typename OpT, int num_spatial_dims, bool depthwise_conv = false>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    }
    
    type RawSockaddrL2TPIP struct {
    	Family  uint16
    	Unused  uint16
    	Addr    [4]byte /* in_addr */
    	Conn_id uint32
    	_       [4]uint8
    }
    
    type RawSockaddrL2TPIP6 struct {
    	Family   uint16
    	Unused   uint16
    	Flowinfo uint32
    	Addr     [16]byte /* in6_addr */
    	Scope_id uint32
    	Conn_id  uint32
    }
    
    type RawSockaddrIUCV struct {
    	Family  uint16
    	Port    uint16
    	Addr    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    `channels_last_format`, see below for details.}]>:$output
      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
    }
    
    def TF_Conv2DOp : TF_Op<"Conv2D", [InferTensorType, Pure, TF_LayoutSensitiveInterface]> {
      let summary = [{
    Computes a 2-D convolution given 4-D `input` and `filter` tensors.
      }];
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top