Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 172 for Ntype (0.07 sec)

  1. tensorflow/c/eager/dlpack_test.cc

      EXPECT_EQ(dltensor_out->device.device_id, dltensor_in->device.device_id);
      EXPECT_EQ(dltensor_out->ndim, dltensor_in->ndim);
      EXPECT_EQ(dltensor_out->dtype.code, dltensor_in->dtype.code);
      EXPECT_EQ(dltensor_out->dtype.bits, dltensor_in->dtype.bits);
      EXPECT_EQ(dltensor_out->dtype.lanes, dltensor_in->dtype.lanes);
      for (int i = 0; i < dltensor_in->ndim; ++i) {
        EXPECT_EQ(dltensor_out->shape[i], dltensor_in->shape[i]);
        if (dltensor_out->strides) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 30 03:04:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

            auto operand_or_result = value_shaped_type.getElementType();
            std::string dtype;
    
            TypeSwitch<Type>(operand_or_result)
                .Case<IntegerType>([&](Type) {
                  dtype =
                      absl::StrCat("i", operand_or_result.getIntOrFloatBitWidth());
                })
                .Case<FloatType>([&](Type) {
                  dtype =
                      absl::StrCat("f", operand_or_result.getIntOrFloatBitWidth());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-order.mlir

    // CHECK-NEXT:       attr {
    // CHECK:              key: "dtype"
    // CHECK-NEXT:         value {
    // CHECK-NEXT:           type: DT_INT32
    // CHECK-NEXT:         }
    // CHECK-NEXT:       }
    // CHECK-NEXT:       attr {
    // CHECK-NEXT:         key: "value"
    // CHECK-NEXT:         value {
    // CHECK-NEXT:           tensor {
    // CHECK-NEXT:             dtype: DT_INT32
    // CHECK-NEXT:             tensor_shape {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 18:52:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/unique_name.mlir

        %0:2 = tf_executor.island wraps "tf.Const"() {dtype = "tfdtype$DT_INT32", value = dense<0> : tensor<i32>} : () -> (tensor<i32>) loc("foo")
        // CHECK: name: "foo{{_.*_1}}"
        %1:2 = tf_executor.island wraps "tf.Const"() {dtype = "tfdtype$DT_INT32", value = dense<1> : tensor<i32>} : () -> (tensor<i32>) loc("foo")
        // CHECK: name: "foo1"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/test_utils.cc

      switch (dtype) {
    #define CASE(type)                                       \
      case DataTypeToEnum<type>::value: {                    \
        type* typed_a = static_cast<type*>(a);               \
        type* typed_b = static_cast<type*>(b);               \
        for (int64_t i = 0; i < num_elements; ++i) {         \
          if (DataTypeIsFloating(dtype)) {                   \
            EXPECT_FLOAT_EQ(static_cast<float>(typed_a[i]),  \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/pjrt_tensor_buffer_util.cc

    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    
    static size_t GetTensorSize(const TensorShape& shape, const DataType dtype) {
      return shape.num_elements() * DataTypeSize(dtype);
    }
    
    absl::StatusOr<Tensor> MakeTensorFromPjRtBuffer(
        const DataType dtype, const TensorShape& shape,
        std::unique_ptr<xla::PjRtBuffer> pjrt_buffer) {
      TF_ASSIGN_OR_RETURN(std::unique_ptr<xla::PjRtBuffer::ExternalReference> ref,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size.cc

    }
    
    // Arbitrarily calculate the size of const of type whose size is unkown or
    // varying. Each element of such a type is considered to have
    // `kAssumedNumBytesPerElem` bytes.
    int64_t GetSizeOfUnsupportedTypeConst(TF::ConstOp const_op) {
      return kAssumedNumBytesPerElem * const_op.getValue().getNumElements();
    }
    
    }  // namespace
    
    int64_t GetSizeInBytes(TF::ConstOp const_op) {
      const Type dtype = const_op.getDtype();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:37:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/schemaBuildingUtils.kt

            else -> error("unexpected type")
        }
    
    
    internal
    fun checkInScope(
        type: KType,
        typeScope: DataSchemaBuilder.PreIndex
    ) {
        if (type.classifier?.isInScope(typeScope) != true) {
            error("type $type used in a function is not in schema scope")
        }
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/Tokenizer.java

         * @param str
         *            文字列。{@literal null}であってはいけません
         * @param ctype
         *            文字のタイプの配列。{@literal null}や空配列であってはいけません
         */
        public Tokenizer(final String str, final byte[] ctype) {
            assertArgumentNotNull("str", str);
            assertArgumentNotEmpty("ctype", ctype);
    
            this.str = str;
            this.ctype = ctype;
        }
    
        /**
         * @param ctype2
         *            文字のタイプの配列
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-custom-operation.pbtxt

    node {
      name: "Constant"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_INT32
            tensor_shape {
            }
            int_val: 0
          }
        }
      }
    }
    node {
      name: "_tf.foo"
      op: "foo"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top