Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for concrete_functions (0.25 sec)

  1. tensorflow/cc/saved_model/fingerprinting.cc

      // Sort `concrete_functions`, which is an unordered map from function names to
      // SavedConcreteFunction, using the suffix UID of the function name. Assumes
      // that the trackable children are listed in a deterministic order during
      // serialization.
      absl::btree_map<int64_t, std::string> uid_to_function_names;
      for (const auto& [name, concrete_function] :
           object_graph_def.concrete_functions()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

        std::unique_ptr<TFConcreteFunction> concrete_function;
        TF_RETURN_IF_ERROR(TFConcreteFunction::Create(/*function_def=*/&function,
                                                      /*captures=*/{},
                                                      /*metadata=*/{},
                                                      /*ctx=*/context,
                                                      /*out=*/&concrete_function));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          func->setAttr(
              kTfSavedModelExportedNamesAttr,
              builder.getStrArrayAttr(object_names.GetExportedNames(node_id)));
          const SavedConcreteFunction& concrete_function =
              object_graph.concrete_functions().at(function.concrete_functions(0));
    
          // We do not handle the other element of this tuple, which corresponds to
          // Python kwonlyargs, since currently TensorFlow prohibits this in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/function.cc

          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.");
      }
      for (auto& spec : concrete_fns_) {
        if (Match(spec.input_signature, value)) {
          return spec;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/BUILD

            "//tensorflow/c:__subpackages__",
            "//tensorflow/c/experimental/saved_model/internal:__pkg__",
        ],
        licenses = ["notice"],
    )
    
    cc_library(
        name = "concrete_function",
        hdrs = [
            "concrete_function.h",
        ],
        deps = [
            ":function_metadata",
            "//tensorflow/c/eager:immediate_execution_operation",
            "//tensorflow/c/eager:immediate_execution_tensor_handle",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/internal/BUILD

    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        licenses = ["notice"],
    )
    
    cc_library(
        name = "concrete_function",
        srcs = [
            "concrete_function.cc",
        ],
        hdrs = [
            "//tensorflow/c/experimental/saved_model/public:concrete_function.h",
        ],
        copts = tf_copts(),
        visibility = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 20:19:06 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

    #include "tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h"
    #include "tensorflow/c/experimental/saved_model/internal/saved_model_api_type.h"
    #include "tensorflow/c/experimental/saved_model/public/concrete_function.h"
    #include "tensorflow/c/experimental/saved_model/public/signature_def_function.h"
    #include "tensorflow/c/experimental/saved_model/public/signature_def_function_metadata.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. RELEASE.md

    * Introducing `tf.types.experimental.AtomicFunction` as the fastest way to perform TF computations in Python.
    
        * Can be accessed through `inference_fn` property of `ConcreteFunction`s
        * Does not support gradients.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top