Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for simple (1.16 sec)

  1. tensorflow/c/eager/custom_device_testutil.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    #define TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    
    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tfe_monitoring_internal.h

          std::unique_ptr<tensorflow::monitoring::Buckets> buckets,
          const char* description, LabelDesc&&... label) {
        sampler = absl::WrapUnique(tensorflow::monitoring::Sampler<NumLabels>::New(
            {name, description, label...}, std::move(buckets)));
      }
    
      std::unique_ptr<tensorflow::monitoring::Sampler<NumLabels>> sampler;
    };
    
    struct TFE_MonitoringSampler0 : TFE_MonitoringSampler<0> {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    // the size of 'retvals' is less than the number of outputs. This call sets
    // *num_retvals to the number of outputs.
    //
    // If async execution is enabled, the call may simply enqueue the execution
    // and return "non-ready" handles in `retvals`. Note that any handles contained
    // in 'op' should not be mutated till the kernel execution actually finishes.
    //
    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)
  4. tensorflow/c/eager/c_api_experimental.h

                                    const char* label1, const char* label2);
    
    // -----------------------------------------------------------------------------
    // Monitoring Sampler APIs.
    // These APIs de-templated monitoring Sampler for swig.
    
    typedef struct TFE_MonitoringSamplerCell TFE_MonitoringSamplerCell;
    
    // Atomically add the value of the cell.
    TF_CAPI_EXPORT extern void TFE_MonitoringSamplerCellAdd(
    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)
  5. tensorflow/c/experimental/grappler/grappler.h

    //       versioning guarantees yet.
    //   * `void* ext` is a free-form field that can be populated by
    //     a plugin in `TP_*` structs or potential future extension points .
    //
    // Example usage:
    //
    //   /* Sample TensorFlow code below, exact implementation might differ. */
    //   // Version checking uses `struct_size`. It should be set both by core
    //   // and the plugin.
    //   TP_OptimizerRegistrationParams params{
    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)
  6. tensorflow/c/eager/tape.h

      // Else, only when this is destructed.
      bool persistent_;
    };
    
    // Describes a callback for special-cased and more efficient jvp computation.
    //
    // Could just be a simple typedef in ForwardAccumulator, but MSVC chokes on
    // that.
    template <typename Gradient>
    class ForwardFunction
        : public std::function<Status(const std::vector<Gradient*>&,
    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)
  7. tensorflow/c/eager/gradients.h

    #include "tensorflow/core/common_runtime/eager/attr_builder.h"
    
    namespace tensorflow {
    namespace gradients {
    
    // =============== Experimental C++ API for computing gradients ===============
    
    // Sample gradient function:
    //
    // class AddGradientFunction : public GradientFunction {
    //  public:
    //   Status Compute(Context* ctx,
    //                  absl::Span<AbstractTensorHandle* const> grad_inputs,
    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)
Back to top