- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Snover (0.15 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
static_cast<off_t>(offset))}; if (r > 0) { dst += r; offset += static_cast<uint64_t>(r); n -= r; // safe as 0 < r <= n so n will never underflow read += r; } else if (r == 0) { TF_SetStatus(status, TF_OUT_OF_RANGE, "Read fewer bytes than requested"); break; } else if (errno == EINTR || errno == EAGAIN) { // Retry
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
} // On success, returns a set of TF_Function instances from `text_proto` of // 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,
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/eager/gradients.cc
// TODO(srbs): It seems like this is used only for performance optimization // and not for correctness. The only downside of keeping this 1 seems to be // that the gradient accumulation is unbounded and we will never // aggressively aggregate accumulated gradients to recover memory. // Revisit and fix. return 1; } // Consumes references to the tensors in the gradient_tensors list and returns
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/eager/parallel_device/parallel_device_lib.cc
StatusPtr first_bad_status(nullptr); for (const auto& dt : device_threads_) { StatusPtr async_wait_status(TF_NewStatus()); dt->AsyncWait(async_wait_status.get()); // Prefer non cancelled errors to uncover real failures. if (TF_GetCode(async_wait_status.get()) != TF_OK && (first_bad_status == nullptr || TF_GetCode(first_bad_status.get()) == TF_CANCELLED)) { first_bad_status.reset(TF_NewStatus());
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/experimental/gradients/tape/tape_operation.cc
if (num_dims > TensorShape::MaxDimensions()) { return errors::InvalidArgument("Value specified for `", attr_name, "` has ", num_dims, " dimensions which is over the limit of ", TensorShape::MaxDimensions(), "."); } TensorShapeProto proto; if (num_dims < 0) { proto.set_unknown_rank(true); } else {
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/c_api_test.cc
"localhost:", tensorflow::testing::PickUnusedPortOrDie())}); tensorflow::JobDef* job_def2 = cluster_def->add_job(); job_def2->set_name("worker"); // Copy over `host:port` at `task_index` for (auto task : cluster_server_def.cluster().job(0).tasks()) { if (task.first == task_index) { job_def2->mutable_tasks()->insert({task.first, task.second}); } }
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_test.cc
} TEST(CAPI, TensorEncodeDecodeStrings) { TestEncodeDecode(__LINE__, {}); TestEncodeDecode(__LINE__, {"hello"}); TestEncodeDecode(__LINE__, {"the", "quick", "brown", "fox", "jumped", "over"}); string big(1000, 'a'); TestEncodeDecode(__LINE__, {"small", big, "small2"}); } TEST(CAPI, SessionOptions) { TF_SessionOptions* opt = TF_NewSessionOptions(); TF_DeleteSessionOptions(opt);
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)