Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for 1xi8 (0.06 sec)

  1. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

      // Argument has rank 2, but its dimensions are unknown.
      constexpr absl::string_view kArgumentWithUnknownDims = R"mlir(
        func.func @unknown_dims_arg(%arg: tensor<?x?xi8>) -> tensor<?x?xi8> {
          return %arg : tensor<?x?xi8>
        }
      )mlir";
    
      OwningOpRef<ModuleOp> module_op =
          ParseModuleOpString(kArgumentWithUnknownDims);
      ASSERT_TRUE(module_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      %f0 = "tfl.logical_and"(%arg0, %cst_false0): (tensor<1xi1>, tensor<1xi1>) -> tensor<1xi1>        // match
      %f1 = "tfl.logical_and"(%arg0, %cst_false1): (tensor<1xi1>, tensor<2x3xi1>) -> tensor<2x3xi1>    // match
      %f2 = "tfl.logical_and"(%arg1, %cst_false0): (tensor<2x3xi1>, tensor<1xi1>) -> tensor<2x3xi1>    // no match
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

              )
          )
          module_str = self._extract_first_xla_call_module_op(
              self._output_saved_model_path
          )
          self.assertTrue(
              re.search('stablehlo.dot_general.*xi8>.*xi8>.*xi32>', module_str)
          )
    
        # Run quantization the first time, calibration is expected to be skipped.
        output_saved_model_path_2 = self.create_tempdir('output2').full_path
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc

      if (!quantDenseAttr) {
        return nullptr;
      }
    
      // Cast from an expressed-type-based type to storage-type-based type,
      // preserving the sparse shape (i.e. tensor<4xf32> -> tensor<4xi8>).
      ShapedType newSparseType = mlir::dyn_cast_or_null<ShapedType>(
          quantizedElementType.castExpressedToStorageType(
              realSparseAttr.getType()));
      if (!newSparseType) {
        return nullptr;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      // CHECK: tf.Conv2DBackpropInput
    }
    
    func.func @assert_remove(%arg0: tensor<1xi32>, %arg1: tensor<1xi32>) -> tensor<1xi1> {
      %0 = "tf.LessEqual"(%arg0, %arg1) : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi1>
      "tf.Assert"(%0, %arg1) {summarize = 3} : (tensor<1xi1>, tensor<1xi32>) -> ()
      func.return %0 : tensor<1xi1>
      // CHECK-LABEL: assert_remove
      // CHECK: tfl.less_equal
      // CHECK-NOT: Assert
      // CHECK: return
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    }
    
    // -----
    
    // CHECK-LABEL: func @bitcast_smaller_input_width
    func.func @bitcast_smaller_input_width(%arg0: tensor<8xi8>) -> tensor<i64> {
      // CHECK:  mhlo.bitcast_convert %arg0 : (tensor<8xi8>) -> tensor<i64>
      %0 = "tf.Bitcast"(%arg0) : (tensor<8xi8>) -> tensor<i64>
      func.return %0 : tensor<i64>
    }
    
    // -----
    
    // CHECK-LABEL: func @bitcast_smaller_output_width
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
Back to top