- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for scope (0.13 sec)
-
tensorflow/c/c_api.cc
const tensorflow::Scope& scope, const std::vector<tensorflow::Output>& inputs, std::vector<tensorflow::Output>* outputs) { DCHECK_EQ(scope.graph(), &parent->graph); TF_RETURN_IF_ERROR( CopyGraph(¶ms->body_graph->graph, &parent->graph, &parent->refiner, params->body_inputs, inputs, scope.impl()->name(), scope.impl()->control_deps(),
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/custom_device_test.cc
RegisterLoggingDevice(context.get(), custom0, /*strict_scope_placement=*/false, &arrived, &executed, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); RegisterLoggingDevice(context.get(), custom1, /*strict_scope_placement=*/true, &arrived, &executed, status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
device->arrived_flag = arrived_flag; device->executed_flag = executed_flag; device->device_name = name; device->underlying_device = "/job:localhost/replica:0/task:0/device:CPU:0"; device->strict_scope_placement = strict_scope_placement; TFE_RegisterCustomDevice(context, custom_device, name, device, status); } TFE_TensorHandle* UnpackTensorHandle(TFE_TensorHandle* logged_tensor_handle,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInSameScope) { BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope/gradients_1"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); } TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInDifferentScopes) { BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope_1/gradients"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(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/experimental/gradients/nn_grad_test.cc
if (UseFunction()) { // TODO(b/168850692): Enable this. GTEST_SKIP() << "Can't take gradient of " "SparseSoftmaxCrossEntropyWithLogits in tracing mode."; } // Score float X_vals[] = {1.0f, 2.0f, 3.0f, -5.0f, -4.0f, -3.0f, 2.0f, 0.0f, -1.0f}; int64_t X_dims[] = {3, 3}; AbstractTensorHandlePtr X; { AbstractTensorHandle* X_raw;
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
absl::Span<AbstractTensorHandle*> outputs, bool use_function) { if (use_function) { const char* fn_name = "test_fn"; core::RefCountPtr<AbstractFunction> scoped_func; // Returning null tensors from a tf.function is not supported, so we keep // track of indices in the model's outputs are nullptr in this set. // The FunctionDef only outputs the non-null tensors. We later pad the
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
auto* rewrite_options = config->mutable_graph_options()->mutable_rewrite_options(); rewrite_options->set_scoped_allocator_optimization( tensorflow::RewriterConfig::ON); rewrite_options->mutable_scoped_allocator_opts()->add_enable_op( "CollectiveReduce"); if ((tensorflow::IsGoogleCudaEnabled() || tensorflow::IsBuiltWithROCm()) && num_virtual_gpus > 0) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2)