Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,939 for functor (0.58 sec)

  1. tensorflow/compiler/jit/device_compilation_cluster_signature.cc

      }
      return h;
    }
    
    absl::StatusOr<Signature> Signature::Build(
        const NameAttrList& function,
        absl::Span<const XlaCompiler::Argument> args) {
      Signature signature;
      signature.name = Canonicalize(function.name(), AttrSlice(&function.attr()));
    
      for (const XlaCompiler::Argument& arg : args) {
        switch (arg.kind) {
          case XlaCompiler::Argument::kConstant:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

      This is only for use by the MLIR SavedModel importer tests.
    
      Args:
        create_signature: A functor that return signature_def_map, init_op and
          assets_collection. signature_def_map is a map from string key to
          signature_def. The key will be used as function name in the resulting
          MLIR.
        canonicalize: If true, canonicalizer will be run on the resulting MLIR.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    
    #include <type_traits>
    #include <utility>
    
    namespace tf_gcs_filesystem {
    
    // A move-only RAII object that calls a stored cleanup functor when
    // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F).
    template <typename F>
    class Cleanup {
     public:
      Cleanup() : released_(true), f_() {}
    
      template <typename G>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 09 11:16:00 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Function.java

     * java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/function.h

    #include "tensorflow/core/platform/statusor.h"
    
    namespace tf {
    namespace libtf {
    
    class Function {
     public:
      tensorflow::Status RegisterTrace(tensorflow::AbstractFunctionPtr,
                                       TaggedValue input_signature,
                                       TaggedValue output_signature);
    
      // Executes this function under the execution context.
      //
      // Raises an error is no matching signature is found for TaggedValue.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Function.java

    /**
     * Legacy version of {@link java.util.function.Function java.util.function.Function}.
     *
     * <p>The {@link Functions} class provides common functions and related utilities.
     *
     * <p>As this interface extends {@code java.util.function.Function}, an instance of this type can be
     * used as a {@code java.util.function.Function} directly. To use a {@code
     * java.util.function.Function} in a context where a {@code com.google.common.base.Function} is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Mar 20 18:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/libtf/function.cc

      auto cleanup_tensors = absl::MakeCleanup([outs]() {
        for (auto t : outs) {
          t->Unref();
        }
      });
      return Unflatten(outs, concrete_fn.output_signature);
    }
    
    StatusOr<Function::ConcreteFunction> Function::GetConcreteFunction(
        TaggedValue value) const {
      if (concrete_fns_.empty()) {
        return tensorflow::errors::FailedPrecondition(
            "No registered ConcreteFunctions.");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/function/function.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tfrt/function/function.h"
    
    #include "absl/log/log.h"
    #include "absl/strings/match.h"
    #include "mlir/IR/OperationSupport.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 08:13:15 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/function/function.h

      // to proactively transfer the result to host since the consumer op (or
      // function) of the result may still be on TPU.
      // TODO(b/194081364): remove this option once we unify servo TPU serving
      // result transfer behavior.
      bool tpu_transfer_result_to_host = false;
    };
    
    // Compile MLIR generated by tf.function in TF dialect into BEF.
    Status CompileTFMLIRToBEF(const TfrtFunctionCompileOptions& options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 04:50:20 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-order.mlir

        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:      library {
    // CHECK:        function {
    // CHECK-NEXT:     signature {
    // CHECK-NEXT:       name: "bar"
    // CHECK-NEXT:     }
    // CHECK:          node_def {
    // CHECK-NEXT:       name: "tf.Const"
    // CHECK-NEXT:       op: "Const"
    // CHECK-NEXT:       attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 18:52:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top