- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Before (0.18 sec)
-
tensorflow/c/eager/c_api_cluster_test.cc
serialized_update.size(), status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); // The device of var_handle0 is local device which is the same before and // after cluster update. Remove resource with valid device should succeed. TFE_Op* op = TFE_NewOp(ctx, "DestroyResourceOp", status); ASSERT_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
// GraphDef type. These functions must be deleted by calling TF_DeleteFunction. // // If `mutate_proto_func` is non-NULL, run it over each FunctionDef proto, // before creating a TF_Function out of the possibly mutated proto. static std::vector<UniqueFuncPtr> CreateFunctionsFromTextProto( const char* text_proto, std::function<void(FunctionDef*)>* mutate_proto_func, TF_Status* status) {
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/c_test_util.cc
for (TF_Operation* t : targets) { targets_.emplace_back(t); } } void CSession::Run(TF_Status* s) { if (inputs_.size() != input_values_.size()) { ADD_FAILURE() << "Call SetInputs() before Run()"; return; } ResetOutputValues(); output_values_.resize(outputs_.size(), nullptr); const TF_Output* inputs_ptr = inputs_.empty() ? nullptr : &inputs_[0]; TF_Tensor* const* input_values_ptr =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/eager/c_api_distributed_test.cc
TFE_TensorHandle* h1 = TestVariable(ctx, 2.0, task2_name); TFE_TensorHandle* h2 = TestVariable(ctx, 3.0, task0_name); // Add a sync point to make sure that variables have been initialized // before the function execution starts. TFE_ContextAsyncWait(ctx, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); // Pack 3 variable handles into one TFE_TensorHandle.
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) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
{ tensorflow::mutex_lock l(execution_mutex_); while (execution_state_ != ExecutionState::kIdle) { // If there's already a pending execution, wait until Join finishes before // starting on the next operation. finished_join_.wait(l); } context_ = context; operation_name_ = operation_name; step_id_ = step_id; op_inputs_ = inputs;
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/c_api_unified_experimental_graph.cc
return errors::FailedPrecondition( "SetOpName called on already built op."); } if (op_type_.empty()) { return errors::FailedPrecondition( "GraphOperation::Reset must be called before calling SetOpName."); } // TODO(b/145674566): We use Graph::NewName to get a unique name here but // this may not be consistent with python's naming policy. mutex_lock l(g_->mu);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
TF_SetStatus(status, TF_OUT_OF_RANGE, std::move(os).str().c_str()); return total_bytes_transferred; } auto begin = data.begin(); if (offset > pos) { // The block begins before the slice we're reading. begin += offset - pos; } auto end = data.end(); if (pos + data.size() > offset + n) { // The block extends past the end of the slice we're reading.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0)