Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for concrete_functions (0.29 sec)

  1. 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)
  2. tensorflow/c/experimental/saved_model/internal/concrete_function.cc

    #include "tensorflow/c/experimental/saved_model/public/concrete_function.h"
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/immediate_execution_operation.h"
    #include "tensorflow/c/eager/tfe_op_internal.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/experimental/saved_model/core/concrete_function.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 06:55:27 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h

    // a FunctionDef is executed by the C API.
    // 1. A tf.function is polymorphic, meaning it can correspond to multiple
    // ConcreteFunctions (of differing shapes, python arguments, etc). A
    // FunctionDef corresponds to a single ConcreteFunction.
    // 2. A tf.function can take arbitrary python inputs, whereas the FunctionDef
    // only accepts tensors.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/public/concrete_function.h

    // construction fails, `status` will be non-OK and the returned pointer will be
    // null.
    // TODO(bmzhao): Remove this function in a subsequent change; Design + implement
    // a Function Execution interface for ConcreteFunction that accepts a tagged
    // union of types (tensorflow::Value). This effectively requires moving much of
    // the implementation of function.py/def_function.py to C++, and exposing a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 06:55:27 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/experimental/public/concrete_function_list.h

    #include "tensorflow/cc/saved_model/experimental/public/concrete_function.h"
    
    namespace tensorflow {
    namespace experimental {
    namespace cc {
    
    // ConcreteFunctionList helps convert an opaque pointer to an array of
    // ConcreteFunction pointers to a std::vector.
    class ConcreteFunctionList {
     public:
      // Converts this object to a std::vector<ConcreteFunction*>
      std::vector<ConcreteFunction*> ToVector();
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/internal/concrete_function_type.h

    #include "tensorflow/c/experimental/saved_model/core/concrete_function.h"
    
    // Internal structures used by the SavedModel C API. These are likely to change
    // and should not be depended on.
    
    // It doesn't make sense to wrap tensorflow::ConcreteFunction* in a separate
    // struct, since the lifetime of the struct and the raw pointer it wraps would
    // be different. Therefore TF_ConcreteFunction* = tensorflow::ConcreteFunction*.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 29 01:58:17 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/experimental/public/function_metadata.h

    // optional signaturedef feeds/fetches (for TF1-based ConcreteFunctions),
    // a valid function path (for TF2-based ConcreteFunctions), and
    // the types + number of inputs and outputs.
    class FunctionMetadata final {
      // TODO(bmzhao): Add getters here as necessary.
     private:
      friend class ConcreteFunction;
      static FunctionMetadata* wrap(TF_FunctionMetadata* p) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/internal/concrete_function_list_type.h

    #include <vector>
    
    #include "tensorflow/c/experimental/saved_model/core/concrete_function.h"
    
    // Internal structures used by the SavedModel C API. These are likely to change
    // and should not be depended on.
    
    struct TF_ConcreteFunctionList {
      std::vector<tensorflow::ConcreteFunction*> list;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 01:59:39 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.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)
  10. tensorflow/c/experimental/saved_model/core/saved_model_api.h

      virtual Status GetFunction(const std::string& function_path,
                                 ConcreteFunction** function) = 0;
    
      // Retrieve a list of child functions from a SavedModel given a starting node.
      // 0 is the root node.
      virtual Status GetFunctions(
          int node_id,
          absl::flat_hash_map<std::string, ConcreteFunction*>* functions) = 0;
    
      // Retrieve a SignatureDefFunction from a SavedModel, using the key of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 04 17:05:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
Back to top