Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for NCHW (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/defer_activation_transpose.mlir

    // CHECK: stablehlo.reduce_window
    
    // -----
    
    // [No change] Tests that the transpose of the input of
    // `stablehlo.reduce_window` is NOT deferred to the result, when the transpose
    // isn't `[0, 3, 1, 2]` (i.e. NCHW->NHWC).
    
    // CHECK-LABEL: reduce_window_max_activation_transpose_with_padding
    func.func @reduce_window_max_activation_transpose_with_padding(%arg0: tensor<16x16x4x1xf32>) -> tensor<1x4x8x8xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/fused_kernel_matcher.mlir

      // The result of the conv must be the first input to BiasAdd to be fusable.
      %1 = "tf.BiasAdd"(%0, %arg0) {data_format = "NCHW"} : (tensor<*xf32>, tensor<128xf32>) -> tensor<*xf32>
      %2 = "tf.Elu"(%1) : (tensor<*xf32>) -> tensor<*xf32>
      %3 = "tf.Identity"(%2) : (tensor<*xf32>) -> tensor<*xf32>
      func.return %3 : tensor<*xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.stack.part.pbtxt

    # CHECK: fake/user/code/file_C.py:27:1: error: 'tf.Conv2D' op attribute 'data_format' failed to satisfy constraint: 'NHWC' or 'NCHW' convnet data format
    # CHECK: fake/user/code/file_D.py:28:1: note: called from
    # CHECK: fake/user/code/file_E.py:29:1: note: called from
    # CHECK: fake/user/code/file_F.py:30:1: note: called from
    
    node {
      name: "input"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 27 18:59:05 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/nn_grad_test.cc

      auto var = ops::OnesLike(scope_, scale);
    
      if (!channel_first) {
        attrs.data_format_ = (shape.dims() == 5) ? "NDHWC" : "NHWC";
      } else {
        attrs.data_format_ = (shape.dims() == 5) ? "NCDHW" : "NCHW";
      }
    
      auto y = FusedBatchNormV3(scope_, x, scale, offset, mean, var, attrs);
      RunTest({x, scale, offset}, {shape, scale_shape, scale_shape}, {y.y},
              {shape});
    }
    
    INSTANTIATE_TEST_SUITE_P(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

       // Unsupported data format
       %1 = "tf.Conv2D"(%arg2, %arg1) {T = "tfdtype$DT_FLOAT", data_format = "NCHW", dilations = [1, 1, 1, 1], padding = "SAME", strides = [1, 1, 1, 1]} : (tensor<256x3x32x32xf32>, tensor<3x3x3x16xf32>) -> tensor<256x16x32x32xf32>
       // OK
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      // OK
      %0 = "tf.AvgPool"(%arg0) {T = "tfdtype$DT_FLOAT", data_format = "NCHW", ksize = [1, 1, 3, 6], padding = "VALID", strides = [1, 1, 3, 1]} : (tensor<1x16x6x6xf32>) -> tensor<1x16x1x1xf32>
      // Unsupported ksize
      %1 = "tf.AvgPool"(%arg0) {T = "tfdtype$DT_FLOAT", data_format = "NCHW", ksize = [3, 1, 3, 6], padding = "VALID", strides = [1, 1, 3, 1]} : (tensor<1x16x6x6xf32>) -> tensor<1x16x1x1xf32>
    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/lite/transforms/legalize_patterns.td

    //===----------------------------------------------------------------------===//
    def IsDataFormatNHWC : ConstantAttr<TF_ConvnetDataFormatAttr, "\"NHWC\"">;
    def IsDataFormatNCHW : ConstantAttr<TF_ConvnetDataFormatAttr, "\"NCHW\"">;
    
    class I32VectorElementsAttr<int len> : ElementsAttrBase<
      CPred<"$_self.isa<DenseIntElementsAttr>() &&"
          "$_self.cast<DenseIntElementsAttr>().getType()."
          "getElementType().isSignlessInteger(32)">,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      %0:6 = "tf.FusedBatchNormV3"(%arg0, %arg1, %arg2, %arg3, %arg4) {T = "tfdtype$DT_FLOAT", data_format = "NCHW", epsilon = 0.001 : f32, exponential_avg_factor = 1.0 : f32, is_training = true} : (tensor<8x8x8x8xf32>, tensor<8xf32>, tensor<8xf32>, tensor<8xf32>, tensor<8xf32>) -> (tensor<8x8x8x8xf32>, tensor<8xf32>, tensor<8xf32>, tensor<8xf32>, tensor<8xf32>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      %0 = "tf.BiasAddGrad"(%arg0) {data_format = "NCHW"} : (tensor<2x3x4x5xf32>) -> tensor<3xf32>
      func.return %0 : tensor<3xf32>
    }
    
    // CHECK-LABEL: func @BiasAddGrad_dynamic
    func.func @BiasAddGrad_dynamic(%arg0: tensor<?x?x?x?xf32>) -> tensor<?xf32> {
      // CHECK: tf.Sum
      %0 = "tf.BiasAddGrad"(%arg0) {data_format = "NCHW"} : (tensor<?x?x?x?xf32>) -> tensor<?xf32>
      func.return %0 : tensor<?xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    }
    
    // -----
    
    func.func @testBiasAdd(%arg0: tensor<2x3xf32>, %arg1: tensor<3xf32>) -> tensor<2x3xf32> {
      // expected-error @+1 {{requires value operand to have rank at least three with `NCHW` data format}}
      %0 = "tf.BiasAdd"(%arg0, %arg1) {data_format = "NCHW"} : (tensor<2x3xf32>, tensor<3xf32>) -> tensor<2x3xf32>
      func.return %0 : tensor<2x3xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top