Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for NCHW (0.3 sec)

  1. 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)
  2. 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)
Back to top