Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ConcreteFunction (0.26 sec)

  1. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

        TF_RETURN_IF_ERROR(resource.Initialize());
      }
      return Status();
    }
    
    }  // namespace
    
    Status TFSavedModelAPI::GetFunction(const std::string& function_path,
                                        ConcreteFunction** function) {
      absl::optional<int> node =
          internal::FindNodeAtPath(function_path, bundle_.saved_object_graph());
      if (!node.has_value()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/internal/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(TF_GetCode(status), TF_UNIMPLEMENTED);
    
      TF_DeleteSavedModel(saved_model);
      TF_DeleteStatus(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

        return errors::FailedPrecondition(
            "Only tf.functions annotated with an input signature are supported "
            "by SavedModelAPI. This means that there should only be a single "
            "ConcreteFunction per tf.function");
      }
      return Status();
    }
    
    Status LoadSavedAsset(ImmediateExecutionContext* ctx, const SavedAsset& asset,
                          const std::string& saved_model_dir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

            revived->concrete_functions.Find(create_resource_fn_node);
        if (create_resource_fn == nullptr) {
          return absl::FailedPreconditionError(
              absl::StrCat("ConcreteFunction at node ", create_resource_fn_node,
                           " should have been initialized prior to being called."));
        }
        ImmediateOpPtr function_op;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
Back to top