Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TFConcreteFunction (0.15 sec)

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

      captures[5] = std::make_unique<DummyCapture>(context(), 10);
    
      std::unique_ptr<TFConcreteFunction> result;
      Status status = internal::LoadTFConcreteFunction(saved, &func, captures,
                                                       context(), &result);
      TF_EXPECT_OK(status) << status.message();
    }
    
    // A TFConcreteFunction should register functiondefs on creation, and
    // remove them upon deletion.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

                                  const SavedObjectGraph& obj_graph,
                                  const PartiallyRevivedObjects& objects,
                                  std::unique_ptr<TFConcreteFunction>* out) {
      const auto& capture_node_ids = builder.saved_concrete_func->bound_inputs();
      std::vector<ImmediateExecutionTensorHandle*> captures;
      captures.reserve(capture_node_ids.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

      // the graph def function library.
      for (const FunctionDef& function :
           bundle.meta_graph_def().graph_def().library().function()) {
        std::unique_ptr<TFConcreteFunction> concrete_function;
        TF_RETURN_IF_ERROR(TFConcreteFunction::Create(/*function_def=*/&function,
                                                      /*captures=*/{},
                                                      /*metadata=*/{},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

        const FunctionDef* function_def,
        const std::unordered_map<int, std::unique_ptr<TensorHandleConvertible>>&
            captured_objects,
        ImmediateExecutionContext* ctx, std::unique_ptr<TFConcreteFunction>* out) {
      TF_RETURN_IF_ERROR(ValidateSavedFunctionCompatibleWithFunctionDef(
          saved_concrete_function, function_def));
    
      // Copy over captures
      std::vector<ImmediateExecutionTensorHandle*> captures;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
Back to top