- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 146 for switch (0.19 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
} }); // Loop until either block content is successfully fetched, or our request // encounters an error. absl::MutexLock l(&block->mu); TF_SetStatus(status, TF_OK, ""); while (true) { switch (block->state) { case FetchState::ERROR: // TF_FALLTHROUGH_INTENDED case FetchState::CREATED: block->state = FetchState::FETCHING;
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) -
tensorflow/c/c_api.cc
session->graph->mu.unlock(); return false; } GraphDef graph_def; *graph_def.mutable_versions() = graph.versions(); // Fill graph_def with nodes with ids in the range // [session->last_num_graph_nodes, num_nodes), that is the nodes // added since the last TF_SessionRun() call. for (auto id = session->last_num_graph_nodes; id < num_nodes; ++id) {
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) -
README.md
open-source software development. ## Patching guidelines Follow these steps to patch a specific version of TensorFlow, for example, to apply fixes to bugs or security vulnerabilities: * Clone the TensorFlow repo and switch to the corresponding branch for your desired TensorFlow version, for example, branch `r2.8` for version 2.8. * Apply (that is, cherry-pick) the desired changes and resolve any code conflicts.
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 05 15:00:10 GMT 2023 - 11.9K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
switch (dtype.code) { case DLDataTypeCode::kDLBool: if (dtype.bits != 8) { return tensorflow::errors::InvalidArgument( "Only DLPack bools of bitwidth 8 are supported, got: ", dtype.bits); } *tf_dtype = TF_DataType::TF_BOOL; return absl::OkStatus(); case DLDataTypeCode::kDLUInt: switch (dtype.bits) { case 8:
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
// 'read0_maybe_with_graph_error' op having a requested device `dev2_name`. // During execution: // * task:0 processes main function `VariableAddFunctionWithGraphError` // and places the 'read0_maybe_with_graph_error' op on task:2 // * task:0 partitions the main function with a subgraph containing // 'read0_maybe_with_graph_error' sent to task:2
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/c_api.h
// corresponding entry in the `dims` array must be -1. // // This does not overwrite the existing shape associated with `output`, // but merges the input shape with the existing shape. For example, // setting a shape of [-1, 2] with an existing shape [2, -1] would set // a final shape of [2, 2] based on shape merging semantics. // // Returns an error into `status` if:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
.github/bot_config.yml
* It has an added advantage since you can you easily switch to different hardware accelerators (cpu, gpu, tpu) as per the task. * All you need is a good internet connection and you are all set.
Others - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Oct 17 11:48:07 GMT 2023 - 4K bytes - Viewed (0) -
ci/official/utilities/setup.sh
# simple" is MUCH more important than "don't repeat yourself." # -e: abort script if one command fails # -u: error if undefined variable used # -x: log all commands # -o pipefail: entire command fails if pipe fails. watch out for yes | ... # -o history: record shell history # -o allexport: export all functions and variables to be available to subscripts # (affects 'source $TFCI') set -euxo pipefail -o history -o allexport
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jan 26 00:33:34 GMT 2024 - 5.2K bytes - Viewed (1) -
tensorflow/c/eager/gradients_test.cc
Status RecordOperationWithNullGradientFunctionModel( AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) { Tape tape(/*persistent=*/false); tape.Watch(inputs[0]); AbstractTensorHandle* neg_output; TF_RETURN_IF_ERROR(ops::Neg(ctx, inputs[0], &neg_output, "Neg")); tape.RecordOperation(inputs, {neg_output}, nullptr, "Neg"); return tape.ComputeGradient(ctx,
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/c_api_test_util.h
// Create a variable handle with name `variable_name` on a device with name // `device_name`. TFE_TensorHandle* CreateVarHandle(TFE_Context* ctx, const tensorflow::string& device_name, const tensorflow::string& variable_name); // Create a variable with value `value` and name `variable_name` on a device // with name `device_name`.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0)