- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for provides (0.23 sec)
-
tensorflow/c/c_api.cc
if (n == nullptr) continue; // Adding the gradients to the graph can alter the prefix to prevent // name collisions only if this prefix has not been provided explicitly // by the user. If it was provided, assert that it remained intact. if (prefix != nullptr && !absl::StartsWith(n->name(), prefix_cmp)) { status->status = tensorflow::errors::Internal(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status); // Even after the prevoiusly failed cluster update, another update and op // execution should work fine as long as the provided server_def is valid. TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(), status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 19.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
// A vector to keep track of newly created `tf::Tensor` objects. std::vector<Tensor> all_input_tensors; // Update the vector with information from `input_tensors` if provided. if (input_tensors != nullptr) { // Note that we take the address of the elements in `all_input_tensors` // below. Allocate enough space so that no reallocation happens, which will // make the pointers invalid.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
// // As some filesystems require special setup, these tests are run manually. // // Each filesystem implementation can be provided by DSOs, so we provide the // `--dsos` flag to specify a list of shared objects to be loaded in order. // If the flag is not used, no shared objects are loaded. // // Every filesystem provides support for accessing URIs of form // `[<scheme>://]<path>` where `<scheme>` is optional (if missing, we are
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
} void TestGradientsSuccess(bool grad_inputs_provided) { TF_Output inputs[2]; TF_Output outputs[1]; TF_Output grad_outputs[2]; TF_Output expected_grad_outputs[2]; BuildSuccessGraph(inputs, outputs); BuildExpectedGraph(grad_inputs_provided, expected_grad_outputs); AddGradients(grad_inputs_provided, nullptr, inputs, 2, outputs, 1, grad_outputs);
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/gradients.cc
AbstractTensorHandle* AggregateGradients( gtl::ArraySlice<AbstractTensorHandle*> gradient_tensors) const override; // Calls the passed-in backward function. // op_type is the op's name provided in RecordOperation. Status CallBackwardFunction( const string& op_type, GradientFunction* gradient_function, const std::vector<int64_t>& unneeded_gradients,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
return OkStatus(); } // Ensures that the plugin provides the required memory management operations. static Status ValidatePluginMemoryRoutines( const TF_FilesystemPluginInfo* info) { if (info->plugin_memory_allocate == nullptr) return errors::FailedPrecondition( "Cannot load filesystem plugin which does not provide " "`plugin_memory_allocate`");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
const ParallelDevice& parallel_device, std::vector<TensorHandlePtr> components, TF_Status* status) { if (components.empty()) { TF_SetStatus(status, TF_INTERNAL, "No components are provided for creating a ParallelTensor"); return nullptr; } TFE_TensorHandleGetStatus(components[0].get(), status); if (!status->status.ok()) { return nullptr; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/eager/gradients_test.cc
{x.get()}, absl::MakeSpan(outputs), /*use_function=*/!std::get<2>(GetParam())); ASSERT_EQ(error::INVALID_ARGUMENT, s.code()); ASSERT_EQ( "Provided null gradient_function for 'Neg'.\nIf the intent is to treat " "this op as non-differentiable consider using RegisterNotDifferentiable " "or NotDifferentiableGradientFunction.", s.message());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
TFE_OpSetAttrShape(op.get(), "shape", dims, num_dims, status); TFE_OpSetAttrString(op.get(), "container", "", 0); // Use the special GUID for no buffer sharing // // TODO(allenl): Should we provide a better API for this? AFAIK this is the // only reasonable way to make variables with no aliasing using the eager C // API. std::string no_sharing = "cd2c89b7-88b7-44c8-ad83-06c2a9158347";
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0)