- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for notes (0.12 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
TFE_DeleteContextOptions(opts); TFE_Executor* executor = TFE_NewExecutor( /*is_async=*/false, /*enable_streaming_enqueue=*/true, /*in_flight_nodes_limit=*/0); TFE_ContextSetExecutorForThread(ctx, executor); TFE_DeleteContext(ctx); TFE_DeleteExecutor(executor); } { TFE_ContextOptions* opts = TFE_NewContextOptions();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
"Filesystem for ", dir, " does not support GetChildren()")); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); std::string translated_name = TranslateName(dir); // Note that `children` is allocated by the plugin and freed by core // TensorFlow, so we need to use `plugin_memory_free_` here. char** children = nullptr; const int num_children =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_DeleteAbstractOp(add_op); TF_AbstractFunction* func = TF_FinalizeFunction(graph_ctx, add_outputs, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); // Note: TF_OutputList does not own the underlying AbstractTensors, those // need to be deleted explicitly. TF_DeleteAbstractTensor(TF_OutputListGet(add_outputs, 0)); // Build eager context.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// Creates a new eager Executor. Nodes in one executor are guaranteed to be // executed in sequence. Assigning nodes to different executors allows executing // nodes in parallel. // in_flight_nodes_limit: when is_async is true, this value controls the // maximum number of in flight async nodes. Enqueuing of additional async ops // after the limit is reached blocks until some inflight nodes finishes.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
typedef enum TF_TriState { TF_TriState_Default = 0, TF_TriState_Off, TF_TriState_On, } TF_TriState; // TF_GrapplerItem represents a combination of a graph, one of more fetch nodes, // and potentially a set of nodes to feed. typedef struct TF_GrapplerItem TF_GrapplerItem; // Flags indicating whether existing optimizers should be turned off. // It's optional for plugin to set functions to return true/false. If not
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // Controls how to act when we try to run an operation on a given device but // some input tensors are not on that device. // LINT.IfChange // Note: Keep in sync with internal copy of enum in eager/context.h. typedef enum TFE_ContextDevicePlacementPolicy { // Running operations with input tensors on the wrong device will fail. TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/experimental/grappler/grappler.cc
TF_SetStatus(status, TF_OK, ""); const std::unordered_set<std::string>& nodes = reinterpret_cast<const tensorflow::grappler::GrapplerItem*>(item) ->NodesToPreserve(); *num_values = nodes.size(); *storage_size = 0; for (const std::string& str : nodes) { *storage_size += str.size(); } }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
CONTRIBUTING.md
- If a change is needed, the contributor is requested to make the suggested change. - You make the change and submit it for the review again. - This cycle repeats itself until the PR gets approved. - Note: As a friendly reminder, we may reach out to you if the PR is awaiting your response for more than 2 weeks. **4. Approved** - Once the PR is approved, it gets `kokoro:force-run` label applied and it
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
bool valid = true; int64_t expected_stride = 1; for (int i = ndim - 1; i >= 0; --i) { // Empty tensors are always compact regardless of strides. if (shape_arr[i] == 0) return true; // Note that dimensions with size=1 can have any stride. if (shape_arr[i] != 1 && stride_arr[i] != expected_stride) { valid = false; } expected_stride *= shape_arr[i]; } return valid; }
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/immediate_execution_context.h
// will take ownership and maintain devices' lifetime. virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0; // Block until all pending nodes are finished. virtual Status AsyncWait() = 0; // Add a function (serialized FunctionDef protocol buffer) so that it can // be executed as an op. Return error if the function with the same name // already exists.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0)