Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ne (0.13 sec)

  1. tensorflow/c/eager/c_api_test.cc

      int num_retvals = 1;
      TFE_Execute(matmul, &retvals[0], &num_retvals, status);
      TFE_DeleteOp(matmul);
      if (!async) {
        EXPECT_NE(TF_OK, TF_GetCode(status));
      } else {
        TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
        EXPECT_NE(TF_OK, TF_GetCode(status));
        EXPECT_EQ(nullptr, t);
        const char* msg = "Matrix size-incompatible: In[0]: [2,2], In[1]: [3,2]";
    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)
  2. tensorflow/c/eager/dlpack_test.cc

      dltensor_in->dtype = {kDLFloat, 32, 1};
      dltensor_in->shape = shape.data();
      dltensor_in->strides = strides.data();
      TFE_TensorHandle* handle = TFE_HandleFromDLPack(&dlm_in, status, ctx);
      ASSERT_NE(handle, nullptr)
          << TF_Message(status) << " (shape=[" << absl::StrJoin(shape, ",")
          << "], strides=[" << absl::StrJoin(strides, ",") << "])";
    
      auto* dlm_out =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_Tensor* a =
          TF_AllocateTensor(TF_UINT64, dims, 2, 6 * TF_DataTypeSize(TF_UINT64));
      TF_Tensor* b =
          TF_AllocateTensor(TF_UINT64, nullptr, 0, TF_DataTypeSize(TF_UINT64));
      EXPECT_NE(a, nullptr);
      EXPECT_NE(b, nullptr);
    
      EXPECT_EQ(6, TF_TensorElementCount(a));
      EXPECT_EQ(1, TF_TensorElementCount(b));
      EXPECT_EQ(6 * TF_DataTypeSize(TF_UINT64), TF_TensorByteSize(a));
    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)
  4. tensorflow/c/c_api_function_test.cc

      ASSERT_NE(func_, nullptr);
    
      // Verify that FunctionDef ArgDef has attributes.
      ASSERT_EQ(func_->record->fdef().arg_attr_size(), 1);
      auto arg_attrs = func_->record->fdef().arg_attr().find(0);
      ASSERT_NE(arg_attrs, func_->record->fdef().arg_attr().end());
      auto iter = arg_attrs->second.attr().find("_test_attr");
      ASSERT_NE(iter, arg_attrs->second.attr().end());
    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)
  5. tensorflow/c/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      // Test that full type information can be accessed.
      auto outs = unwrap(add_outputs);
      auto h = outs->outputs[0];
      ASSERT_NE(h, nullptr);
      ASSERT_EQ(h->FullType().type_id(), TFT_UNSET);
      ASSERT_EQ(unwrap(inputs[0])->FullType().type_id(), TFT_UNSET);
    
      // Clean up operation and inputs.
      TF_DeleteAbstractOp(add_op);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/build.sh

      do
        docker build \
        --build-arg REQUIREMENTS_FILE=jax.requirements.txt \
        --target=$target \
        --cache-from "$IMAGE" \
        -t "$IMAGE"  . && break
      done
      final=$?
      if [ $final -ne 0 ]; then
        exit $final
      fi
      set -e
    
      if [[ -n "$KOKORO_BUILD_ID" ]]; then
        gcloud auth configure-docker
        docker push "$IMAGE"
      fi
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Nov 03 13:38:49 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TFE_TensorHandle* var_handle = TestVariable(ctx, 2.0, dev2_name);
      EXPECT_NE(var_handle, nullptr);
      TFE_ContextAsyncWait(ctx, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const string function_def = VariableAddFunction();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  8. RELEASE.md

        previous behavior.
    
    *   Performing equality operations on Tensors or Variables with incompatible
        shapes an exception is no longer thrown. Instead `__eq__` returns False and
        `__ne__` returns True.
    
    *   Removed `tf.string_split` from v2 API.
    
    *   Deprecated the use of `constraint=` and `.constraint` with ResourceVariable.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top