Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for Squeeze (0.12 sec)

  1. tensorflow/cc/gradients/array_grad_test.cc

    }
    
    TEST_F(ArrayGradTest, SqueezeGrad) {
      TensorShape x_shape({1, 5, 1, 2});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      TensorShape y_shape({5, 2});
      auto y = Squeeze(scope_, x);
      RunTest(x, x_shape, y, y_shape);
    }
    
    TEST_F(ArrayGradTest, TransposeGrad) {
      TensorShape x_shape({5, 2});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir

        %12 = "tf.Cast"(%arg1) {Truncate = false} : (tensor<2x1xf32>) -> tensor<2x1xi64>
        %13 = "tf.Reshape"(%12, %9) : (tensor<2x1xi64>, tensor<1xi32>) -> tensor<2xi64>
        %14 = "tf.Squeeze"(%arg1) {squeeze_dims = [-1]} : (tensor<2x1xf32>) -> tensor<2xf32>
        // CHECK: "tf.Conv2D"
        // CHECK-SAME: strides = [1, 1, 1, 1]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 37.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/fuse-tftext.mlir

      %267 = "tf.Reshape"(%266, %5) {device = ""} : (tensor<?x?xi1>, tensor<1xi32>) -> tensor<?xi1>
      %268 = "tf.Where"(%267) {device = ""} : (tensor<?xi1>) -> tensor<?x1xi64>
      %269 = "tf.Squeeze"(%268) {device = "", squeeze_dims = [1]} : (tensor<?x1xi64>) -> tensor<?xi64>
      %270 = "tf.GatherV2"(%264, %269, %14) {batch_dims = 0 : i64, device = ""} : (tensor<?xi64>, tensor<?xi64>, tensor<i32>) -> tensor<?xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      auto float_graph = readonly_model_->subgraphs()->Get(0);
      // The original model reshape->custom->custom->squeeze.
      ASSERT_THAT(*float_graph->operators(), SizeIs(4));
      // The resulting model should be:
      // reshape->dequantize->custom->custom->quantize->squeeze.
      ASSERT_THAT(subgraph->operators, SizeIs(6));
      const std::vector<BuiltinOperator> op_codes = {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

    func.func @PadStridedSliceNewAxisMask2(%arg0: tensor<4x64x64x1xf32>) -> tensor<1x4x64x64xf32> {
      %cst = arith.constant dense<0> : tensor<3xi32>
      %cst_0 = arith.constant dense<1> : tensor<3xi32>
      %0 = "tf.Squeeze"(%arg0) {T = f32, _output_shapes = ["tfshape$dim { size: 4 } dim { size: 64 } dim { size: 64 }"], device = "", squeeze_dims = []} : (tensor<4x64x64x1xf32>) -> tensor<4x64x64xf32>
    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/schema/schema_v3b.fbs

      PAD = 34,
      UNIDIRECTIONAL_SEQUENCE_RNN = 35,
      GATHER = 36,
      BATCH_TO_SPACE_ND = 37,
      SPACE_TO_BATCH_ND = 38,
      TRANSPOSE = 39,
      MEAN = 40,
      SUB = 41,
      DIV = 42,
      SQUEEZE = 43,
      UNIDIRECTIONAL_SEQUENCE_LSTM = 44,
      STRIDED_SLICE = 45,
      BIDIRECTIONAL_SEQUENCE_RNN = 46,
      EXP = 47,
      TOPK_V2 = 48,
      SPLIT = 49,
      LOG_SOFTMAX = 50,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      %0 = "tf.Bitcast"(%arg0) : (tensor<2xf32>) -> tensor<2x2xf16>
      func.return %0 : tensor<2x2xf16>
    }
    
    // -----
    
    // CHECK-LABEL: squeeze
    func.func @squeeze(%arg0: tensor<1x1x10xf32>) -> tensor<1x10xf32> {
      // CHECK: mhlo.reshape
      %0 = "tf.Squeeze"(%arg0) : (tensor<1x1x10xf32>) -> tensor<1x10xf32>
      func.return %0 : tensor<1x10xf32>
    }
    
    // -----
    
    // CHECK-LABEL: squeeze_ranked
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/schema.fbs

      PAD = 34,
      UNIDIRECTIONAL_SEQUENCE_RNN = 35,
      GATHER = 36,
      BATCH_TO_SPACE_ND = 37,
      SPACE_TO_BATCH_ND = 38,
      TRANSPOSE = 39,
      MEAN = 40,
      SUB = 41,
      DIV = 42,
      SQUEEZE = 43,
      UNIDIRECTIONAL_SEQUENCE_LSTM = 44,
      STRIDED_SLICE = 45,
      BIDIRECTIONAL_SEQUENCE_RNN = 46,
      EXP = 47,
      TOPK_V2 = 48,
      SPLIT = 49,
      LOG_SOFTMAX = 50,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

      const auto& expected_params = collected_quant_params[0];
      for (int i = 1; i < collected_quant_params.size(); ++i) {
        const auto& compared_params = collected_quant_params[i];
        // For some ops (such as Transpose or Squeeze), the quantized axis might not
        // be the same, this function only verifies the scale and zero point in
        // that case. The quantized axis should be verified in their own verifier
        // method.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    This operation is related to `squeeze()`, which removes dimensions of
    size 1.
      }];
    
      // TODO: Restriction on dim's size and valid range are not modeled here.
      let arguments = (ins AnyTensor:$input, TFL_I32OrI64Tensor:$dim);
    
      let results = (outs AnyTensor:$output);
    
      let hasOptions = 1;
    }
    
    def TFL_SqueezeOp: TFL_Op<"squeeze", [Pure,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top