Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 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/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)
  3. ci/official/utilities/setup.sh

    # variables in it, OR may be left empty if the user has already exported the
    # relevant variables in their environment. Because of 'set -o allexport' above
    # (which is equivalent to "set -a"), every variable in the file is exported
    # for other files to use.
    #
    # Separately, if TFCI is set *and* there are also additional TFCI_ variables
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  4. tensorflow/c/c_api.cc

      if (!status->status.ok()) return nullptr;
    
      // Create a TF_Graph from the MetaGraphDef. This is safe as long as Session
      // extends using GraphDefs. The Graph instance is different, but equivalent
      // to the one used to create the session.
      //
      // TODO(jhseu): When Session is modified to take Graphs instead of
      // GraphDefs, return the Graph generated in LoadSavedModel().
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

    }  // namespace
    
    // Allows a single op at a time to be launched without blocking.
    //
    // DeviceThread itself is thread-safe, in that StartExecute will block if there
    // is a pending execution. Since StartExecute is equivalent to grabbing a lock,
    // multiple DeviceThreads should always be accessed in the same order to avoid
    // deadlocks.
    class DeviceThread {
     public:
      // Starts a background thread waiting for `StartExecute`.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. 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)
  7. SECURITY.md

    computation
    [**graphs**](https://developers.google.com/machine-learning/glossary/#graph).
    Since models are practically programs that TensorFlow executes, using untrusted
    models or graphs is equivalent to running untrusted code.
    
    If you need to run untrusted models, execute them inside a
    [**sandbox**](https://developers.google.com/code-sandboxing). Memory corruptions
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  8. 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)
  9. configure.py

        except NameError:
          answer = input(question)  # pylint: disable=bad-builtin
      except EOFError:
        answer = ''
      return answer
    
    
    def symlink_force(target, link_name):
      """Force symlink, equivalent of 'ln -sf'.
    
      Args:
        target: items to link to.
        link_name: name of the link.
      """
      try:
        os.symlink(target, link_name)
      except OSError as e:
        if e.errno == errno.EEXIST:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. 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