Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Equivalent (0.2 sec)

  1. tensorflow/c/eager/tfe_op_attrs_internal.h

    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/c/eager/abstract_op_attrs.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    // that sometimes do not require serialization.
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    typedef struct TFE_Context TFE_Context;
    typedef struct TFE_Op TFE_Op;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/unified_api_testutil.h

                                       absl::Span<AbstractTensorHandle*>)>;
    
    // Runs `model` maybe wrapped in a function call op. This can be thought as
    // being equivalent to the following python code.
    //
    // if use_function:
    //   outputs = tf.function(model)(inputs)
    // else:
    //   outputs = model(inputs)
    Status RunModel(Model model, AbstractContext* ctx,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    // Sets the attribute attr_name to be a function specified by 'function'.
    //
    // TODO(ashankar,iga): Add this functionality to the C API for graph
    // construction. Perhaps we want an AttrValueMap equivalent in the C API?
    TF_CAPI_EXPORT extern void TFE_OpSetAttrFunction(TFE_Op* op,
                                                     const char* attr_name,
                                                     const TFE_Op* value);
    
    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/tape.h

        const std::function<void(BackwardFunction*)>& backward_function_deleter,
        const std::vector<Gradient*>& in_grads, absl::Span<Gradient*> out_grads) {
      /* This function is approximately equivalent to this Python code:
    
      forwardprop_aids = tf.ones_like(output_tensors)
      with tf.GradientTape() as g:
        g.watch(forwardprop_aids)
        grad = backward_function(forwardprop_aids)
    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)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///
      /// If `status` is not `TF_OK`, returns `false`, otherwise returns the same
      /// as the `is_directory` member of a `TF_FileStatistics` that would be used
      /// on the equivalent call of `stat`.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if `path` exists.
      ///   * Must set `status` to `TF_NOT_FOUND` if `path` doesn't point to a
      ///     filesystem entry.
    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)
Back to top