- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for Unknown (0.19 sec)
-
tensorflow/c/experimental/gradients/tape/tape_operation.cc
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// Returns number of elements across all dimensions. virtual Status NumElements(int64_t* num_elements) const = 0; // Returns size of specified dimension // // -1 indicates an unknown axis length; this is unreachable for most standard // ImmediateExecutionTensorHandles, but comes up for example when computing // the shape of a parallel tensor with component shapes differing across // devices.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
} TEST(CAPI, StatusEnum) { EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK)); EXPECT_EQ(TF_CANCELLED, static_cast<TF_Code>(tensorflow::error::CANCELLED)); EXPECT_EQ(TF_UNKNOWN, static_cast<TF_Code>(tensorflow::error::UNKNOWN)); EXPECT_EQ(TF_INVALID_ARGUMENT, static_cast<TF_Code>(absl::StatusCode::kInvalidArgument)); EXPECT_EQ(TF_DEADLINE_EXCEEDED,
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) -
tensorflow/c/eager/c_api_test.cc
TFE_TensorHandle* hdevice = TFE_TensorHandleCopyToDevice(hcpu, ctx, kErrorDevice, status.get()); EXPECT_NE(TF_OK, TF_GetCode(status.get())); const char* msg = "NoSuchDevice:0 unknown device"; EXPECT_TRUE(strstr(TF_Message(status.get()), msg) != nullptr) << TF_Message(status.get()); TF_SetStatus(status.get(), TF_OK, ""); const char* kCPUDevice = "CPU:0"; TFE_TensorHandle* hcopy =
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) -
tensorflow/c/c_api_experimental_test.cc
/*input_tensors*/ {}, /*expected_shape*/ make_shape({3, kUnknownDim})); // Infer shape when some dimensions are unknown. CheckOutputShapes( matmul_op, /*input_shapes*/ {make_shape({kUnknownDim, 2}), make_shape({2, 4})}, /*input_tensors*/ {}, /*expected_shape*/ make_shape({kUnknownDim, 4})); // Infer shape when everything is unknown.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
ci/official/bisect.sh
# Run any CI script and env configuration to bisect a failing target in some # build configuration. You must set the following variables to control this # script: # # TF_BISECT_GOOD: Last known good commit (e.g. commit from the last passing job) # TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job) # TF_BISECT_SCRIPT: The build script path relative to the TF root dir, e.g. # ci/official/wheel.sh
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 1.8K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
// Set the shapes and types of the output's handle. // // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the // rank is known), then it must be equal to the length of `shapes[i]`; if // `ranks[i] == 1`, then `shapes[i]` may be nullptr. // // TODO(akshayka): Implement a corresponding getter method.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_test.cc
ASSERT_EQ(errors::OK, s.code()) << s.message(); x.reset(x_raw); } PartialTensorShape shape; Status s = x->Shape(&shape); ASSERT_EQ(errors::OK, s.code()) << s.message(); ASSERT_TRUE(shape.unknown_rank()); } TEST_P(UnifiedAPI, TestPartialShapeTracing) { if (!UseFunction()) { GTEST_SKIP() << "Tracing only test."; } if (UseMlir()) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 6.7K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Jan 23 02:14:00 GMT 2024 - 2.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
vector_handles.push_back(std::move(three_vector)); std::unique_ptr<ParallelTensor> unknown_length_vector = ParallelTensor::FromTensorHandles( parallel_device, std::move(vector_handles), status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); const std::vector<int64_t>* shape; TF_ASSERT_OK(unknown_length_vector->Shape(&shape)); EXPECT_THAT(*shape, ElementsAre(-1));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0)