Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for variant (0.22 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "absl/types/variant.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/tfe_op_internal.h"
    #include "tensorflow/c/safe_ptr.h"
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tape.h

        // Ownership of `aid` transferred to CallBackwardFunction below.
        Gradient* aid;
        if (output_tensor.GetDType() == tensorflow::DT_VARIANT) {
          // Note: Needs to be zeros rather than ones since there's currently no
          // ones_like for variants.
          aid = output_tensor.ZerosLike();
        } else {
          // TODO(allenl): Figure out why using zeros_like everywhere causes issues
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  3. tensorflow/c/c_api.h

    // Adds operations to compute the partial derivatives of sum of `y`s w.r.t `x`s,
    // i.e., d(y_1 + y_2 + ...)/dx_1, d(y_1 + y_2 + ...)/dx_2...
    // This is a variant of TF_AddGradients that allows to caller to pass a custom
    // name prefix to the operations added to a graph to compute the gradients.
    //
    // `dx` are used as initial gradients (which represent the symbolic partial
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. tensorflow/c/checkpoint_reader.h

      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
      std::unique_ptr<TensorSliceReader> reader_;
      std::unique_ptr<BundleReader> v2_reader_;
    
      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// traversal couldn't start, `*undeleted_files` must be set to 0 and
      /// `*undeleted_dirs` must be set to 1.
      ///
      /// TODO(b/139060984): After all filesystems are converted, consider
      /// invariant about `*undeleted_files` and `*undeleted_dirs`.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if directory was deleted.
      ///   * Must set `status` to `TF_NOT_FOUND` if `path` doesn't exist.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top