Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for X__val (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      // CHECK: "tf.IfRegion"(%[[PRED]]) <{is_stateless = false}> ({
      %case_op = "tf.IfRegion"(%arg0) <{is_stateless = false}> ({
          // CHECK: %[[TA_VAL:.*]] = "tf.ReadVariableOp"(%[[TA_BUFFER]])
          // CHECK: "tf.Slice"(%[[TA_VAL]]
          // CHECK-NOT: tf.TensorArrayReadV3
          %idx = "tf.Const"() {value = dense<3> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    // Replace
    //   (float)OneHot(index, depth, on_val, off_val, axis)
    // With
    //   OneHot(index, depth, (float)on_val, (float)off_val, axis)
    def FuseOneHotAndCastToFloat : Pat<
      (TFL_CastOp:$output (TFL_OneHotOp $indices,
                                        $depth,
                                        (Arith_ConstantOp $on_val),
                                        (Arith_ConstantOp $off_val),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

      def res_name(self, ns, types_ns, name):
        name_str = str(name)
        if name_str in TFR_BUILTINS:
          return {TFRTypes.TFR_BUILTIN_FUNC}, name_str
        if name_str in ns:
          ns_val = ns[name_str]
          return {type(ns_val)}, ns_val
        if name_str in __builtins__:
          return {TFRTypes.PY_BUILTIN_FUNC}, __builtins__[name_str]
        # This name is not in the namespace because the autograph transformation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

              use_variable: If True, creates a variable for weight.
            """
            super(GatherModel, self).__init__()
            w_val = np.random.randn(128, 32).astype('f4')
            if use_variable:
              self.w = variables.Variable(w_val)
            else:
              self.w = w_val
    
          @def_function.function(
              input_signature=[
                  tensor_spec.TensorSpec(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top