Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MakeCallable (0.12 sec)

  1. tensorflow/cc/client/client_session.h

      /// \brief A handle to a subgraph, created with
      /// `ClientSession::MakeCallable()`.
      typedef int64_t CallableHandle;
    
      /// \brief Creates a `handle` for invoking the subgraph defined by
      /// `callable_options`.
      /// NOTE: This API is still experimental and may change.
      Status MakeCallable(const CallableOptions& callable_options,
                          CallableHandle* out_handle);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 20 08:11:46 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/runtime/runtime.cc

    using tensorflow::StructuredValue;
    using tensorflow::TensorSpecProto;
    using tensorflow::libexport::TFPackage;
    using tensorflow::protobuf::RepeatedPtrField;
    using tensorflow::tracing::graph::GraphFunction;
    
    TaggedValue MakeCallable(const std::string& fn_name, Function fn,
                             AbstractContext* ctx) {
      auto CallFn = [fn_name, fn, ctx](TaggedValue args_,
                                       TaggedValue kwargs_) -> TaggedValue {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  3. tensorflow/cc/client/client_session.cc

                                   threadpool_options);
    }
    
    Status ClientSession::MakeCallable(const CallableOptions& callable_options,
                                       CallableHandle* out_handle) {
      TF_RETURN_IF_ERROR(impl()->MaybeExtendGraph());
      return impl()->session_->MakeCallable(callable_options, out_handle);
    }
    
    Status ClientSession::RunCallable(CallableHandle handle,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:04:10 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/cc/client/client_session_test.cc

      CallableOptions options;
      options.add_feed(a.node()->name());
      options.add_feed(b.node()->name());
      options.add_fetch(c.node()->name());
      ClientSession::CallableHandle callable;
      TF_CHECK_OK(session.MakeCallable(options, &callable));
      TF_EXPECT_OK(session.RunCallable(
          callable, {test::AsTensor<int>({1}, {}), test::AsTensor<int>({41}, {})},
          &outputs, nullptr));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/loader.cc

        return wrapped_->ListDevices(response);
      }
    
      Status Close() override { return wrapped_->Close(); }
    
      Status MakeCallable(const CallableOptions& callable_options,
                          CallableHandle* out_handle) override {
        return wrapped_->MakeCallable(callable_options, out_handle);
      }
    
      Status RunCallable(CallableHandle handle,
                         const std::vector<Tensor>& feed_tensors,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top