- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for mirror (0.17 sec)
-
src/cmd/cgo/internal/test/issue20266/issue20266.h
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #define issue20266 20266 #ifndef def20266 #error "expected def20266 to be defined"
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 251 bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
TF_Status* status); // Aborts all ongoing collectives with the specified status. After abortion, // subsequent collectives will error with this status immediately. To reset the // collectives, create a new EagerContext. // // This is intended to be used when a peer failure is detected. TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// backward function under a gradient tape. forward_grads.resize(output_tensors.size()); TF_RETURN_IF_ERROR(ForwardpropFromTape( op_type, output_tensors, backward_function_getter, backward_function_deleter, in_grads, absl::MakeSpan(forward_grads))); } else { TF_RETURN_IF_ERROR( (*forward_function)(in_grads, &forward_grads, use_batch_)); }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/eager/c_api.h
// can correspond to the data contained in another dimension in on-host // representation. The dimensions are indexed using the standard TensorFlow // major-to-minor order (slowest varying dimension first), // not the XLA's minor-to-major order. // On-device dimensions can be padded. TFE_TensorDebugInfoOnDeviceDim returns // the number of elements in a dimension after padding.
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/gradients/grad_test_helper.h
Model model, Model grad_model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, bool use_function, double abs_error = 1e-2); void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals, absl::Span<const int64_t> dims, double abs_error = 1e-2); Model BuildGradModel(Model forward, GradientRegistry registry); } // namespace internal } // namespace gradients
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Jan 14 20:36:51 GMT 2021 - 1.5K bytes - Viewed (0) -
tensorflow/c/c_api_macros_internal.h
#include "tensorflow/core/platform/status.h" // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized. // `struct_size` is used for struct member compatibility check between core TF // and plug-ins with the same C API minor version. More info here: // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 13 17:40:56 GMT 2023 - 2.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
// auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); }); // // No matter what, fclose(fp) will happen. // DataObject d; // while (ReadDataObject(fp, &d)) { // if (d.IsBad()) { // LOG(ERROR) << "Bad Data"; // return; // } // PushGoodData(d); // } // } // // You can use Cleanup<F> directly, instead of using MakeCleanup and auto, // but there's rarely a reason to do that.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// * Must set `status` to `TF_OUT_OF_RANGE` if fewer than `n` bytes have /// been read due to EOF. /// * Must return -1 for any other error and must set `status` to any /// other value to provide more information about the error. int64_t (*read)(const TF_RandomAccessFile* file, uint64_t offset, size_t n, char* buffer, TF_Status* status); } TF_RandomAccessFileOps;
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/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
/// FETCHING. After completing, if the read was successful the state should /// be FINISHED. Otherwise the state should be ERROR. A subsequent read can /// re-fetch the block if the state is ERROR. enum class FetchState { CREATED, FETCHING, FINISHED, ERROR, }; /// \brief A block of a file. /// /// A file block consists of the block data, the block's current position in
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
// Obtains key-value from coordination service agent. The returned `TF_Buffer` // is a newly allocated buffer to hold the string key-value, and caller is // responsible for managing the lifetime. If error, `status` will be set and a // nullptr will be returned. TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValue( const char* key, int64_t key_size, TF_CoordinationServiceAgent* agent, TF_Status* status);
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0)