- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for argument (0.19 sec)
-
tensorflow/c/c_api_test.cc
TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, 5, s); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); // Try to set an invalid shape (cannot change 2x3 to a 2x5). dims[1] = 5; TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); // Test for a scalar. TF_Operation* three = ScalarConst(3, graph, s);
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_unified_experimental_test.cc
TFE_DeleteContextOptions(opts); TF_AbstractFunction* f = TF_FinalizeFunction(ctx, nullptr, status.get()); ASSERT_EQ(nullptr, f); ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); TF_DeleteExecutionContext(ctx); } TEST_P(UnifiedCAPI, TF_AbstractOpSetOpTypeAfterFinishingOpBuildingRaises) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
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) -
tensorflow/c/eager/c_api_test.cc
TF_Tensor* t = TFE_TensorHandleResolve(h, status.get()); ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); ASSERT_EQ(t, nullptr); ASSERT_EQ("Invalid handle", string(TF_Message(status.get()))); TF_SetStatus(status.get(), TF_OK, ""); const char* device_name = TFE_TensorHandleDeviceName(h, status.get()); ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); ASSERT_EQ(device_name, nullptr);
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) -
ci/official/requirements_updater/README.md
To set a different version, use the `TF_PYTHON_VERSION` environment variable, e.g. ``` export TF_PYTHON_VERSION=3.11 ``` To specify the version via a Bazel command argument, use the following: ``` --repo_env=TF_PYTHON_VERSION=3.11 ``` ## Requirements updater Requirements updater is a standalone tool, intended to simplify process of
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 23 02:14:00 GMT 2024 - 3.9K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental_test.cc
ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); ASSERT_EQ(device_type, nullptr); ASSERT_EQ("Invalid handle", string(TF_Message(status.get()))); TF_SetStatus(status.get(), TF_OK, ""); int device_id = TFE_TensorHandleDeviceID(h, status.get()); ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); ASSERT_EQ(device_id, -1);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// `const`. /// /// For consistency, the arguments on all these functions follow the same /// pattern: first we have the opaque pointer argument ("this" above), then the /// input arguments, then the in-out arguments (if any) and we finish the /// argument list with the out arguments. We only use the return type for an out /// parameter if that is a plain C type, as this ensures ABI compatibility
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
#include <direct.h> #define mkdir(name, mode) _mkdir(name) // Windows defines the following macros to convert foo to fooA or fooW, // depending on the type of the string argument. We don't use these macros, so // undefine them here. #undef CopyFile #undef DeleteFile #undef TranslateName #endif // defined(PLATFORM_WINDOWS)
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
.github/workflows/release-branch-cherrypick.yml
# input the branch name and paste the cherry-pick commit and click Run. A PR # will be created. name: Release Branch Cherrypick on: workflow_dispatch: inputs: # We use this instead of the "run on branch" argument because GitHub looks # on that branch for a workflow.yml file, and we'd have to cherry-pick # this file into those branches. release_branch: description: 'Release branch name (e.g. r2.9)'
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Sep 12 14:49:29 GMT 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual ImmediateExecutionContext* GetContext() const = 0; // Following two methods are used to support custom device. // Return true if the inputs contain custom device tensor handle. It means // that the argument need to be handled by a custom device. virtual bool HasCustomDeviceInput() const = 0; virtual const tensorflow::OpDef* OpDef() const = 0; virtual Status InputLength(const char* input_name, int* length) = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
DefineFunction("MyGrad2", &grad_func2); // func cannot be null TF_GraphCopyFunction(host_graph_, nullptr, func_, s_); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("'func' argument to TF_GraphCopyFunction cannot be null"), string(TF_Message(s_))); // Cannot change gradient TF_GraphCopyFunction(host_graph_, func_, grad_func1, s_);
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)