- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for deletion (0.18 sec)
-
tensorflow/c/experimental/grappler/grappler.h
#define TP_OPTIMIZER_CONFIGS_STRUCT_SIZE \ TF_OFFSET_OF_END(TP_OptimizerConfigs, scoped_allocator_optimization) // Struct for Optimizer. Plugin authors must provide an optimize function. // Creation and deletion functions are optional. typedef struct TP_Optimizer { size_t struct_size; void* ext; // reserved for future use // [Optional] // Create function for optimizer. void* (*create_func)();
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_test.cc
TFE_DeleteTensorHandle(input2); TFE_DeleteTensorHandle(identity_ret[0]); TFE_DeleteTensorHandle(identity_ret[1]); TFE_DeleteOp(cloned_identity); TFE_DeleteOp(original_identity); TFE_DeleteOp(original_var_op); TFE_DeleteOp(cloned); TF_DeleteStatus(status); TFE_DeleteContext(ctx); } TEST(CAPI, ShareVariableAcrossContextsWorks) {
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/experimental/filesystem/filesystem_interface.h
/// This is accomplished by traversing directory tree rooted at `path` and /// deleting entries as they are encountered, from leaves to root. Each plugin /// is free to choose a different approach which obtains similar results. /// /// On successful deletion, `status` must be `TF_OK` and `*undeleted_files` /// and `*undeleted_dirs` must be 0. On unsuccessful deletion, `status` must
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
std::vector<TFE_TensorHandle*> result; result.push_back(nullptr); int num_retvals = 1; TFE_Execute(op, result.data(), &num_retvals, status); TFE_DeleteOp(op); ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); ASSERT_EQ(num_retvals, 1); TF_Tensor* r = TFE_TensorHandleResolve(result[0], status);
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/eager/c_api.h
typedef struct TFE_TensorDebugInfo TFE_TensorDebugInfo; // Retrieves TFE_TensorDebugInfo for `handle`. // If TFE_TensorHandleTensorDebugInfo succeeds, `status` is set to OK and caller // is responsible for deleting returned TFE_TensorDebugInfo. // If TFE_TensorHandleTensorDebugInfo fails, `status` is set to appropriate // error and nullptr is returned. This function can block till the operation // that produces `handle` has completed.
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/c_api_experimental_test.cc
/*input_shapes*/ {unknown_shape(), unknown_shape()}, /*input_tensors*/ {}, /*expected_shape*/ make_shape({kUnknownDim, kUnknownDim})); TFE_DeleteOp(matmul_op); // TODO(bgogul): Add some death tests where status is not OK. } TEST_F(ShapeInferenceTest, InfersShapesFromInputTensors) { // Prepare some tensors for shape.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/eager/c_api_test_util.cc
TFE_TensorHandle* var_handle = nullptr; int num_retvals = 1; TFE_Execute(op, &var_handle, &num_retvals, status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_DeleteOp(op); if (TF_GetCode(status) != TF_OK) return nullptr; CHECK_EQ(1, num_retvals); // Assign 'value' to it. op = TFE_NewOp(ctx, "AssignVariableOp", status); if (TF_GetCode(status) != TF_OK) return nullptr;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2) -
tensorflow/c/eager/gradients.h
// a trainable dtype. bool ShouldRecord( absl::Span<const AbstractTensorHandle* const> tensors) const; // Unwatches this tensor on the tape. Mainly used for cleanup when deleting // eager tensors. void DeleteTrace(const AbstractTensorHandle*); // Consumes the internal state of the tape (so cannot be called more than
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 10:27:05 GMT 2022 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
status->status = new_op->Reset(op_or_function_name, nullptr); if (!status->status.ok()) { new_op->Release(); new_op = nullptr; } return tensorflow::wrap(new_op); } void TFE_DeleteOp(TFE_Op* op) { if (op == nullptr) { return; } tensorflow::unwrap(op)->Release(); } const char* TFE_OpGetName(const TFE_Op* op, TF_Status* status) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
RELEASE.md
`tf.train.experimental.enable_mixed_precision_graph_rewrite()`. * Add environment variable `TF_CUDNN_DETERMINISTIC`. Setting to "true" or "1" forces the selection of deterministic cuDNN convolution and max-pooling algorithms. When this is enabled, the algorithm selection procedure itself is also deterministic. ## Breaking Changes * Many backwards incompatible API changes have been made to clean up the APIs
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8)