Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ConcreteFunction (0.15 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/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)
  3. 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)
  4. 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