Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 502 for tfdtype (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_types.h

    using ::mlir::tf_type::OperandShapeIterator;       // NOLINT
    using ::mlir::tf_type::ResourceType;               // NOLINT
    using ::mlir::tf_type::ResultShapeIterator;        // NOLINT
    using ::mlir::tf_type::ResultShapeRange;           // NOLINT
    using ::mlir::tf_type::StringType;                 // NOLINT
    using ::mlir::tf_type::TensorFlowRefType;          // NOLINT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_lifting.mlir

    // CHECK-NEXT: return %[[BIASADD]] : tensor<?x?x?x3xf32>
    
    // -----
    
    func.func @lower_einsum(%arg0: tensor<3x4x5xf32>, %arg1: tensor<3x5x6xf32>) -> tensor<3x4x6xf32> {
      %0 = "tf.Einsum"(%arg0, %arg1) {T = "tfdtype$DT_FLOAT", equation = "ijk,ikm->ijm"}: (tensor<3x4x5xf32>, tensor<3x5x6xf32>) -> tensor<3x4x6xf32>
      func.return %0 : tensor<3x4x6xf32>
    }
    // CHECK-LABEL: lower_einsum
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

      }
    }
    
    Status ConvertScalarTypeToDataType(Type type, DataType* dtype) {
      if (type.isF16()) {
        *dtype = DT_HALF;
        return absl::OkStatus();
      } else if (type.isF32()) {
        *dtype = DT_FLOAT;
        return absl::OkStatus();
      } else if (type.isF64()) {
        *dtype = DT_DOUBLE;
        return absl::OkStatus();
      } else if (type.isBF16()) {
        *dtype = DT_BFLOAT16;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/cmd/fix/cftype.go

    		return strings.HasPrefix(s, "C.") && strings.HasSuffix(s, "Ref") && s != "C.CFAllocatorRef"
    	})
    }
    
    // typefix replaces nil with 0 for all nils whose type, when passed to badType, returns true.
    func typefix(f *ast.File, badType func(string) bool) bool {
    	if !imports(f, "C") {
    		return false
    	}
    	typeof, _ := typecheck(&TypeConfig{}, f)
    	changed := false
    
    	// step 1: Find all the nils with the offending types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:25:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_types.def

    Antonio Sanchez <******@****.***> 1694228811 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 09 03:12:53 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/ifrt/lower_to_ifrt_restore_variable.mlir

        %cst_1 = "tf.Const"() <{value = dense<"y"> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string>
        %0 = "tf.RestoreV2"(%cst, %cst_1, %cst_0): (tensor<!tf_type.string>, tensor<1x!tf_type.string>, tensor<1x!tf_type.string>) -> tensor<3x1xf32>
        %1 = "tf.VarHandleOp"() <{container = "", shared_name = "y"}> : () -> tensor<!tf_type.resource<tensor<3x1xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/device_canonicalize.mlir

        // CHECK: tf_device.return %arg1
        tf_device.return %arg0, %arg1 : tensor<!tf_type.string>, tensor<!tf_type.string>
      }) : () -> (tensor<!tf_type.string>, tensor<!tf_type.string>)
      // CHECK: "tf.AssignVariableOp"({{.*}}, %[[RESULT]]
      "tf.AssignVariableOp"(%resource, %0#1) {dtype = !tf_type.string} : (tensor<*x!tf_type.resource<tensor<*x!tf_type.string>>>, tensor<!tf_type.string>) -> ()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        return sorted(list(tfr_funcs))
    
    
    _PY_TYPE_TO_TFR = {
        bool: TFRTypes.I1,
        int: TFRTypes.I64,
        float: TFRTypes.F32,
    }
    
    _TF_DTYPE_TO_TFR = {
        'bool': TFRTypes.I1,
        'int64': TFRTypes.I64,
        'int32': TFRTypes.I32,
        'int16': TFRTypes.I16,
        'int8': TFRTypes.I8,
        'float32': TFRTypes.F32,
    }
    
    _AG_FIXED_RETURN_TYPE = {
        'for_stmt': type(None),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_restore_pruning.mlir

      %cst_0 = "tf.Const"() <{value = dense<""> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string>
      %cst_1 = "tf.Const"() <{value = dense<"y"> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string>
      // CHECK-NOT: tf.RestoreV2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 22:02:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/convert_ref_variables.mlir

      // CHECK-NEXT: "tf.ReadVariableOp"([[handle]])
      %1 = "tf.VariableV2"() {container = "", shape = #tf_type.shape<>, shared_name = "x"} : () -> tensor<!tf_type.int32ref>
      %2 = "tf.Assign"(%1, %0) {T = i32, device = "", use_locking = true, validate_shape = true} : (tensor<!tf_type.int32ref>, tensor<i32>) -> tensor<!tf_type.int32ref>
      %3 = "tf.Identity"(%1) : (tensor<!tf_type.int32ref>) -> tensor<i32>
    
      // CHECK: [[one:%.*]] = "tf.Const"
      // CHECK-SAME: dense<1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.6K bytes
    - Viewed (0)
Back to top