Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for value_dtype (0.27 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tf-hashtables.mlir

      %1 = "tf.LookupTableSizeV2"(%0) {device = ""} : (tensor<!tf_type.resource>) -> tensor<i64>
      // CHECK-LABEL: hashtable_size
      // CHECK-NEXT:  [[HASH_TABLE:%.*]] = "tfl.hashtable"() <{key_dtype = !tf_type.string, table_id = -1323619995 : i32, value_dtype = i64}> : () -> tensor<1x!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc

        auto value_dtype = hashtable.getValueDtype();
    
        // Only allow string -> int64 and int64 -> string mappings due to kernel
        // capability.
        if (!((mlir::isa<TF::StringType>(key_dtype) &&
               mlir::isa<IntegerType>(value_dtype) &&
               mlir::cast<IntegerType>(value_dtype).getWidth() == 64) ||
              (mlir::isa<TF::StringType>(value_dtype) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir

        %0 = "tf.HashTableV2"() {container = "", device = "", key_dtype = i64, shared_name = "hash_table_dba2ccaa-f1b1-46d6-b276-98008f69da71", use_node_name_sharing = false, value_dtype = !tf_type.string} : () -> tensor<!tf_type.resource>
        "tf.LookupTableImportV2"(%0, %cst, %cst_0) {device = ""} : (tensor<!tf_type.resource>, tensor<4xi64>, tensor<4x!tf_type.string>) -> ()
        func.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/legalize-tf-variables.mlir

        %0 = "tf.HashTableV2"() {container = "", device = "", key_dtype = i64, shared_name = "hash_table_dba2ccaa-f1b1-46d6-b276-98008f69da71", use_node_name_sharing = false, value_dtype = !tf_type.string} : () -> tensor<!tf_type.resource>
        "tf.LookupTableImportV2"(%0, %cst, %cst_0) {device = ""} : (tensor<!tf_type.resource>, tensor<4xi64>, tensor<4x!tf_type.string>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK-SAME: key_dtype = !tf_type.string
      // CHECK-SAME: shared_name = "table"
      // CHECK-SAME: value_dtype = i32
      // CHECK-SAME: device = ""
      // CHECK-SAME: () -> tensor<!tf_type.resource>
      %handle = "tf.HashTable"() {container = "", device = "", shared_name = "table", key_dtype = !tf_type.string, value_dtype = i32} : () -> tensor<*x!tf_type.stringref>
    
      // CHECK: "tf.InitializeTableFromTextFileV2"([[handle]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      auto _table_id = _o->table_id;
      auto _key_dtype = _o->key_dtype;
      auto _value_dtype = _o->value_dtype;
      return tflite::CreateHashtableOptions(
          _fbb,
          _table_id,
          _key_dtype,
          _value_dtype);
    }
    
    inline HashtableFindOptionsT *HashtableFindOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

               << "Expect " << kValidNumOfOutput[input_type.getRank()]
               << "output(s) when input has rank " << input_type.getRank();
      }
    
      auto value_type = GetResultType(func, 0);
      if (!RankEquals(value_type, 1) ||
          !mlir::isa<StringType>(value_type.getElementType())) {
        return func.emitError() << "1st output should be string tensor";
      }
      if (func.getNumResults() > 1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

                          llvm::ArrayRef<int32_t> redux_axes,
                          PatternRewriter* rewriter) {
      Value redux_op = createI32ConstantOp(redux_axes, loc, rewriter);
    
      auto value_type = mlir::cast<RankedTensorType>(value.getType());
      auto shape = value_type.getShape();
      llvm::SmallVector<int64_t> sum_shape;
      for (int i = 0; i < shape.size(); ++i) {
        if (std::find(redux_axes.begin(), redux_axes.end(), i) ==
            redux_axes.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/utils.kt

        } finally {
            leaveScope(scope)
        }
    }
    
    
    internal
    fun checkIsAssignable(valueType: DataType, isAssignableTo: DataType): Boolean = when (isAssignableTo) {
        is DataClass -> valueType is DataClass && (sameType(valueType, isAssignableTo) || isAssignableTo.name in valueType.supertypes)
        else -> sameType(valueType, isAssignableTo)
    }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputPropertyAnnotationHandler.java

            Class<?> valueType = propertyMetadata.getDeclaredType().getRawType();
            validateNotDirectoryType(propertyMetadata, validationContext, valueType);
            validateNotFileType(propertyMetadata, validationContext, valueType);
            validateNotOptionalPrimitiveType(propertyMetadata, validationContext, valueType);
            validateNotUrlType(propertyMetadata, validationContext);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top