Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for STRIDED_SLICE (0.15 sec)

  1. tensorflow/compiler/mlir/lite/metrics/testdata/strided_slice.mlir

    func.func @strided_slice(%arg0 : tensor<*xf32>) -> tensor<*xf32> {
      %18 = "tf.Const"() {value = dense<1> : tensor<4xi32>} : () -> tensor<4xi32>
      %57 = "tf.Const"() {value = dense<0> : tensor<4xi32>} : () -> tensor<4xi32>
      %534 = "tf.StridedSlice"(%arg0, %57, %57, %18) {begin_mask = 11 : i64, device = "", ellipsis_mask = 0 : i64, end_mask = 11 : i64, new_axis_mask = 4 : i64, shrink_axis_mask = 0 : i64} : (tensor<*xf32>, tensor<4xi32>, tensor<4xi32>, tensor<4xi32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 536 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/metrics/BUILD

            "@llvm-project//mlir:Support",
        ],
    )
    
    tf_cc_test(
        name = "error_collector_inst_test",
        srcs = ["error_collector_inst_test.cc"],
        data = [
            "testdata/strided_slice.mlir",
        ],
        deps = [
            ":error_collector",
            ":error_collector_inst",
            ":types_util",
            "//tensorflow/compiler/mlir/tensorflow",
            "//tensorflow/core:test",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/quantize-variables.mlir

      %6 = "tfl.dequantize"(%5) : (tensor<1x34x1x3x!quant.uniform<i8:f32, 1.0>>) -> tensor<1x34x1x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc

    }
    
    TEST(ErrorCollectorTest, TessSuccessPass) {
      std::string input_file = tensorflow::GetDataDependencyFilepath(
          "tensorflow/compiler/mlir/lite/metrics/testdata/strided_slice.mlir");
      MLIRContext context;
      context.getOrLoadDialect<mlir::func::FuncDialect>();
      context.getOrLoadDialect<TF::TensorFlowDialect>();
      context.enableMultithreading();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir

        %cst_3 = arith.constant dense<0> : tensor<1xi32>
        %0 = "tfl.shape"(%arg2) {tac.device = "DARWINN", tac.inference_type = "FLOAT"} : (tensor<?x?xi32>) -> tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      %3 = "tfl.strided_slice"(%arg0, %1, %0, %2) {begin_mask = 0 : i32, ellipsis_mask = 0 : i32, end_mask = 0 : i32, new_axis_mask = 0 : i32, shrink_axis_mask = 0 : i32, offset = false} : (tensor<10x10x10xf32>, tensor<3xi32>, tensor<3xi32>, tensor<3xi32>) -> tensor<9x9x9xf32>
      func.return %3 : tensor<9x9x9xf32>
      // CHECK: %[[STRIDED_SLICE:.*]] = "tfl.strided_slice"
      // CHECK:  return %[[STRIDED_SLICE]]
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

    // masks will complicate the strided_slice computation logic, we can simplify
    // the logic by inserting a reshape op to pad the inputs so strided_slice can
    // be easier to handle.
    //
    // So the graph may looks like below:
    //   original_input -> strided_slice -> output
    //      (transforms)
    //   original_input -> reshape -> strided_slice -> output
    //
    // And the new shape is computed based on the masks.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc

    // tfl.custom / tfl.mean / tfl.minimum / tfl.pad / tfl.pow / tfl.prelu /
    // tfl.relu / tfl.relu6 / tfl.rsqrt / tfl.sin / tfl.slice / tfl.softmax /
    // tfl.space_to_depth / tfl.sqrt / tfl.square / tfl.squared_difference /
    // tfl.strided_slice / tfl.tanh / tfl.transpose / tfl.transpose_conv
    class GpuBasicSupportedOpNoCost : public TargetHardwareOperation {
      double GetOpCost(mlir::Operation* op) const override { return 0; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

      func.return %0 : tensor<21x15x2xf32>
    
      // CHECK-DAG: %[[CST:.*]] = arith.constant dense<0> : tensor<3xi32>
      // CHECK-DAG: %[[CST_0:.*]] = arith.constant dense<1> : tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      // CHECK-DAG:  %[[cst:.*]] = arith.constant dense<1> : tensor<1xi32>
      // CHECK-DAG:  %[[c0:.*]] = "tfl.pseudo_const"() <{value = dense<1> : tensor<1xi32>}> : () -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
Back to top