- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for mayBe (0.16 sec)
-
tensorflow/c/eager/unified_api_testutil.h
using Model = std::function<Status(AbstractContext*, absl::Span<AbstractTensorHandle* const>, absl::Span<AbstractTensorHandle*>)>; // Runs `model` maybe wrapped in a function call op. This can be thought as // being equivalent to the following python code. // // if use_function: // outputs = tf.function(model)(inputs) // else: // outputs = model(inputs)
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/graph_function.h
using tensorflow::AbstractFunction; // Thin wrapper around a FunctionDef. class GraphFunction : public AbstractFunction { public: explicit GraphFunction(FunctionDef fdef); ~GraphFunction() override; // GraphFunction maybe stay alive for the duration of the returned // FunctionDef. Status GetFunctionDef(const FunctionDef** fdef) override; // Returns a shared reference to the wrapped function.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 04 19:49:06 GMT 2024 - 1.8K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(ctx)->AddParameter( input->DataType(), shape, &handle)); params->emplace_back(handle); } return absl::OkStatus(); } // Runs `model` maybe wrapped in a function. Status RunModel(Model model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs, bool use_function) {
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/parallel_device/parallel_device.cc
absl::optional<std::vector<std::unique_ptr<ParallelTensor>>> maybe_parallel_results( parallel_device.Execute(context, parallel_inputs, operation_name, attributes, expected_max_outputs, status)); if (!maybe_parallel_results.has_value()) return result; std::vector<std::unique_ptr<ParallelTensor>> parallel_results( std::move(maybe_parallel_results.value()));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K 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/eager/c_api_unified_experimental.h
void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor, TF_Status*); // TF_ExecuteOperation will, if in eager mode, execute, if in graph mode, maybe // capture some inputs and then add a node in the graph. The output tensors are // returned through the provided TF_OutputList. // Any active tape will observe the effects of this execution.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
configure.py
symlink_force(filepath, new_filepath) def validate_cuda_config(environ_cp): """Run find_cuda_config.py and return cuda_toolkit_path, or None.""" def maybe_encode_env(env): """Encodes unicode in env to str on Windows python 2.x.""" if not is_windows() or sys.version_info[0] != 2: return env for k, v in env.items(): if isinstance(k, unicode):
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (1) -
tensorflow/c/c_api.h
// * int is used as an index into arrays. // * Deletion functions are safe to call on nullptr. // // Questions left to address: // * Might at some point need a way for callers to provide their own Env. // * Maybe add TF_TensorShape that encapsulates dimension info. // // Design decisions made: // * Backing store for tensor memory has an associated deallocation // function. This deallocation function will point to client code
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)