Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Equivalent (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  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/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. RELEASE.md

        *   tf.data service now supports auto-sharding. Users specify the sharding
            policy with `tf.data.experimental.service.ShardingPolicy` enum. It can
            be one of `OFF` (equivalent to today's `"parallel_epochs"` mode),
            `DYNAMIC` (equivalent to today's `"distributed_epoch"` mode), or one of
            the static sharding policies: `FILE`, `DATA`, `FILE_OR_DATA`, or `HINT`
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  7. 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 (1)
Back to top