- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for publish (0.22 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h
#ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_ #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_ #include <fstream> #include <string> class TempFile : public std::fstream { public: // We should specify openmode each time we call TempFile. TempFile(const std::string& temp_file_name, std::ios::openmode mode); TempFile(TempFile&& rhs); ~TempFile() override;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jun 26 14:56:58 GMT 2020 - 1.2K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
struct TFE_Op; namespace tensorflow { class ImmediateExecutionContext; class AbstractOpAttrs; // Abstract interface to an operation. class ImmediateExecutionOperation : public AbstractOperation { public: virtual void Clear() = 0; // Returns the inputs of this op. virtual absl::Span<ImmediateExecutionTensorHandle* const> GetInputs() const = 0; virtual Status SetInput(size_t index,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
/// \brief An LRU cache of string keys and arbitrary values, with configurable /// max item age (in seconds) and max entries. /// /// This class is thread safe. template <typename T> class ExpiringLRUCache { public: /// A `max_age` of 0 means that nothing is cached. A `max_entries` of 0 means /// that there is no limit on the number of entries in the cache (however, if /// `max_age` is also 0, the cache will not be populated).
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. class Callback { public: virtual ~Callback() { } virtual std::string run() { return "Callback::run"; } }; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; }
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 529 bytes - Viewed (0) -
tensorflow/c/experimental/gradients/not_differentiable.h
#include "tensorflow/c/eager/gradients.h" namespace tensorflow { namespace gradients { // Ignores `grad_outputs` and sets all entries in grad_inputs to nullptr. class NotDifferentiableGradientFunction : public GradientFunction { Status Compute(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> grad_outputs, absl::Span<AbstractTensorHandle*> grad_inputs) override; };
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Dec 03 22:28:48 GMT 2020 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
class AbstractContext { protected: enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler }; explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {} virtual ~AbstractContext() {} public: AbstractContextKind getKind() const { return kind_; } // Release any underlying resources, including the interface object. // // WARNING: The destructor of this class is marked as protected to disallow
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
class ParallelTensor; class DeviceThread; // Forwards operations to `devices`, maintaining ParallelTensor with components // placed on each underlying device. class ParallelDevice { public: // Eager async execution is only supported when remote eager is not in use // (b/157523095). explicit ParallelDevice(const std::vector<std::string>& devices,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
namespace tensorflow { namespace parallel_device { // A helper for performing common operations on variables. A much more // restricted stand-in for tf.Variable in Python. class Variable { public: // Construct a Variable from a resource-dtype TFE_TensorHandle and an // indication of the dtype of the variable's value. // // Note that creating this resource-dtype handle can fail, so `Create` is a
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_context.h
#include "tensorflow/c/eager/abstract_context.h" #include "tensorflow/c/experimental/gradients/tape/tape_operation.h" namespace tensorflow { namespace gradients { class TapeContext : public AbstractContext { public: explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&); void Release() override; TapeOperation* CreateOperation() override; Status RegisterFunction(AbstractFunction*) override;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_function.h
// representation between various supported formats e.g. FunctionDef and Mlir // function. class AbstractFunction : public core::RefCounted { protected: enum AbstractFunctionKind { kGraph, kMlir }; explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {} public: // Returns which subclass is this instance of. AbstractFunctionKind getKind() const { return kind_; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 04 19:49:06 GMT 2024 - 1.9K bytes - Viewed (0)