Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MakeCallOp (0.2 sec)

  1. tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.cc

      }
    
      out->reset(new FlatTensorFunction(function_def->signature().name(),
                                        std::move(owned_captures), ctx));
      return Status();
    }
    
    Status FlatTensorFunction::MakeCallOp(
        absl::Span<AbstractTensorHandle* const> inputs, ImmediateOpPtr* out) const {
      out->reset(ctx_->CreateOperation());
      // In eager mode, TF2 python executes functions by constructing an op with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.cc

    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    
    namespace {
    
    Status ExecuteNoArgDummyReturnFunction(TFConcreteFunction* func) {
      ImmediateOpPtr function_op;
      TF_RETURN_IF_ERROR(func->MakeCallOp({}, &function_op));
    
      AbstractTensorHandle* dummy_output = nullptr;
      int num_retvals = 1;
      TF_RETURN_IF_ERROR(function_op->Execute(
          absl::MakeSpan(&dummy_output, num_retvals), &num_retvals));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.h

                           ImmediateExecutionContext* ctx,
                           std::unique_ptr<TFConcreteFunction>* out);
    
      // This method returns the "Call" Op used to execute the function.
      Status MakeCallOp(absl::Span<AbstractTensorHandle* const> inputs,
                        ImmediateOpPtr* out) const override;
    
      const FunctionMetadata& GetFunctionMetadata() const override;
    
      ~TFConcreteFunction() override = default;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.h

                           ImmediateExecutionContext* ctx,
                           std::unique_ptr<TFSignatureDefFunction>* out);
    
      // This method creates a "Call" Op used to execute the function.
      Status MakeCallOp(absl::Span<AbstractTensorHandle* const> inputs,
                        ImmediateOpPtr* out) const override;
    
      const SignatureDefFunctionMetadata& GetFunctionMetadata() const override;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

                           " should have been initialized prior to being called."));
        }
        ImmediateOpPtr function_op;
        TF_RETURN_IF_ERROR(create_resource_fn->MakeCallOp({}, &function_op));
        TF_RETURN_IF_ERROR(function_op->SetDeviceName(resource.device.c_str()));
    
        AbstractTensorHandle* resource_handle = nullptr;
        int num_retvals = 1;
    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