Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for concrete_functions (0.4 sec)

  1. tensorflow/c/experimental/saved_model/internal/concrete_function_list.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <stddef.h>
    
    #include "tensorflow/c/experimental/saved_model/core/concrete_function.h"
    #include "tensorflow/c/experimental/saved_model/internal/concrete_function_list_type.h"
    #include "tensorflow/c/experimental/saved_model/internal/concrete_function_type.h"
    
    extern "C" {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 28 17:20:45 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/public/README.md

    # TensorFlow Saved Model C API
    
    ## Small ConcreteFunction Example
    
    The following example loads a saved model from `"/path/to/model"` and
    executes a function `f` taking no arguments and returning one single
    value (error checking is omitted for simplicity):
    
    ```c
    TF_Status* status = TF_NewStatus();
    TFE_ContextOptions* ctx_options = TFE_NewContextOptions();
    TFE_Context* ctx = TFE_NewContext(ctx_options, status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 16 23:02:56 UTC 2020
    - 904 bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/public/c_saved_model_api.h

    #define TENSORFLOW_C_EXPERIMENTAL_SAVED_MODEL_PUBLIC_C_SAVED_MODEL_API_H_
    
    // IWYU pragma: begin_exports
    #include "tensorflow/c/experimental/saved_model/public/concrete_function.h"
    #include "tensorflow/c/experimental/saved_model/public/concrete_function_list.h"
    #include "tensorflow/c/experimental/saved_model/public/function_metadata.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 30 17:58:21 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/public/signature_def_param_list.h

    #include "tensorflow/c/experimental/saved_model/public/signature_def_param.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif  // __cplusplus
    
    // An opaque type that containing metadata of an input/output of a
    // ConcreteFunction loaded from a SavedModel.
    typedef struct TF_SignatureDefParamList TF_SignatureDefParamList;
    
    // Returns the size of `list`.
    TF_CAPI_EXPORT extern size_t TF_SignatureDefParamListSize(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 30 17:58:21 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function_revival_state.h

      // of the inputs and outputs of a function.
      // Note(bmzhao): saved_concrete_func_ is guaranteed to be non-null.
      const SavedConcreteFunction* saved_concrete_func;
    
      // This field is only present on TF2 ConcreteFunctions, and is useful for
      // determining the original argument *names* of the function, (since the
      // "canonicalized_input_signature" may append extra uniquifying integers).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 04:49:47 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/revived_types/tensorhandle_convertible.h

    // A common interface for objects that can be converted to a TensorHandle.
    // Examples of objects that implement this include Variables, Constants, Assets,
    // etc. This is used to convert captured objects into a ConcreteFunction's
    // captured TensorHandles:
    // https://github.com/tensorflow/tensorflow/blob/676a68963ea4b64fe479b9cede06aa8f5b290ab8/tensorflow/python/saved_model/load.py#L229-L240
    class TensorHandleConvertible {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/README.md

    implementation.
    
    Its role is to:
    
    1. implement the C API functions declared in `saved_model/public`
    
    2. define the C API types declared in `saved_model/public`
    
    The files fulfilling 1. are named `*.cc` (eg: `concrete_function.cc`), while
    the files fulfilling 2. are `*type.h` (eg: `concrete_function_type.h`).
    
    The headers exposing the internal implementation of the opaque C types are only
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 20 17:00:01 UTC 2020
    - 2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/cc/saved_model/experimental/tests/saved_model_api_test.cc

      // TODO(bmzhao): Change this to expect TF_OK when loading is implemented.
      // That unblocks writing other tests that require a TF_SavedModel*,
      // like loading a ConcreteFunction. This test at least checks that the
      // C API builds and can be minimally run.
      EXPECT_EQ(status.code(), TF_UNIMPLEMENTED);
    }
    
    TEST_P(CPPSavedModelAPITest, LoadsSavedModel) {
      Status status;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 14 23:59:14 UTC 2020
    - 3.5K bytes
    - Viewed (0)
Back to top