Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ConcreteFunction (0.18 sec)

  1. tensorflow/cc/experimental/libtf/function.h

                                                TaggedValue) const;
    
     private:
      struct ConcreteFunction {
        tensorflow::AbstractFunctionPtr trace;
        TaggedValue input_signature;
        TaggedValue output_signature;
      };
      tensorflow::StatusOr<ConcreteFunction> GetConcreteFunction(TaggedValue) const;
      std::vector<ConcreteFunction> concrete_fns_;
    };
    
    }  // namespace libtf
    }  // namespace tf
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h

    class TFSavedModelAPI : public SavedModelAPI {
     public:
      Status GetFunction(const std::string& function_path,
                         ConcreteFunction** function) override;
    
      Status GetFunctions(
          int node_id,
          absl::flat_hash_map<std::string, ConcreteFunction*>* functions) override;
    
      Status GetSignatureDefFunction(const std::string& signature_def_key,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.h

    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/protobuf/saved_object_graph.pb.h"
    
    namespace tensorflow {
    
    // TF Eager Runtime-based implementation of a "ConcreteFunction" loaded from a
    // saved model.
    class TFConcreteFunction : public ConcreteFunction {
     public:
      // Factory function for creating a TFConcreteFunction.
      //
      // Params:
      //  function_def - The function_def associated with the created
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.h

    namespace tensorflow {
    
    // This is the TF eager runtime implementation of SignatureDefFunction (separate
    // from the TFRT implementation). The user-facing API of SignatureDefFunctions
    // and their semantic differences from ConcreteFunction are described here:
    // https://github.com/tensorflow/tensorflow/blob/e2db60c9d9598ebae0b7741587ce6f5d473584d9/tensorflow/cc/saved_model/experimental/public/signature_def_function.h#L30-L59
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. 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)
Back to top