Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for CAST (0.13 sec)

  1. tensorflow/c/c_api_test.cc

    TEST(CAPI, DataTypeEnum) {
      EXPECT_EQ(TF_FLOAT, static_cast<TF_DataType>(tensorflow::DT_FLOAT));
      EXPECT_EQ(TF_DOUBLE, static_cast<TF_DataType>(tensorflow::DT_DOUBLE));
      EXPECT_EQ(TF_INT32, static_cast<TF_DataType>(tensorflow::DT_INT32));
      EXPECT_EQ(TF_UINT8, static_cast<TF_DataType>(tensorflow::DT_UINT8));
      EXPECT_EQ(TF_INT16, static_cast<TF_DataType>(tensorflow::DT_INT16));
      EXPECT_EQ(TF_INT8, static_cast<TF_DataType>(tensorflow::DT_INT8));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                            argumentMapping?.entries
                        }
                    @Suppress("UNCHECKED_CAST") // safe because of the above check on targetKtSymbol
                    KtSimpleFunctionCall(
                        partiallyAppliedSymbol as KtPartiallyAppliedFunctionSymbol<KtFunctionLikeSymbol>,
                        @Suppress("USELESS_CAST") // K2 warning suppression, TODO: KT-62472
                        argumentMappingWithoutExtensionReceiver
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    #ifndef NDEBUG
        if (enable_grappler)
          EXPECT_NE(strstr(static_cast<const char*>(buf->data), "tf.Mul"), nullptr);
        else
          EXPECT_NE(strstr(static_cast<const char*>(buf->data), "tf.Add"), nullptr);
    #endif
        TF_DeleteBuffer(buf);
      }
    
      TFE_ContextRemoveFunction(ctx, "AddFunction", status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. internal/s3select/select_test.go

    			wantResult: `{"_1":1}`,
    		},
    		{
    			name:       "cast_from_int_to_float",
    			query:      `SELECT cast(1 as float) FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":1}`,
    		},
    		{
    			name:       "cast_from_float_to_float",
    			query:      `SELECT cast(1.0 as float) FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":1}`,
    		},
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> iterator) {
        checkNotNull(iterator);
        if (iterator instanceof UnmodifiableIterator) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          UnmodifiableIterator<T> result = (UnmodifiableIterator<T>) iterator;
          return result;
        }
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> iterator) {
        checkNotNull(iterator);
        if (iterator instanceof UnmodifiableIterator) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          UnmodifiableIterator<T> result = (UnmodifiableIterator<T>) iterator;
          return result;
        }
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
          ImmutableSortedMap<K, V> kvMap = (ImmutableSortedMap<K, V>) map;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
          ImmutableSortedMap<K, V> kvMap = (ImmutableSortedMap<K, V>) map;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		Code:           "CastFailed",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCast: {
    		Code:           "InvalidCast",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. tensorflow/c/c_api_function_test.cc

          ASSERT_EQ(sizeof(int32_t), TF_TensorByteSize(out));
          int32_t* output_contents = static_cast<int32_t*>(TF_TensorData(out));
          EXPECT_EQ(expected_results[i], *output_contents);
        }
      }
    
      void CompareInt32Tensor(const std::vector<int32_t>& expected, TF_Tensor* t) {
        int32_t* data = static_cast<int32_t*>(TF_TensorData(t));
        size_t size = TF_TensorByteSize(t);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top