Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetConcreteFunction (0.2 sec)

  1. tensorflow/cc/experimental/libtf/function.h

     private:
      struct ConcreteFunction {
        tensorflow::AbstractFunctionPtr trace;
        TaggedValue input_signature;
        TaggedValue output_signature;
      };
      tensorflow::StatusOr<ConcreteFunction> GetConcreteFunction(TaggedValue) const;
      std::vector<ConcreteFunction> concrete_fns_;
    };
    
    }  // namespace libtf
    }  // namespace tf
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/experimental/public/saved_model_api.h

      //  If status is not OK, returns nullptr. Otherwise, returns a
      //  tensorflow::cc::ConcreteFunction pointer. The lifetime of this pointer
      //  is bound to SavedModelAPI it was loaded from.
      ConcreteFunction* GetConcreteFunction(const std::string& function_path,
                                            Status* status);
    
      // Retrieve a function from the TF SavedModel via a SignatureDef key.
      //
      // Params:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/function.cc

    StatusOr<TaggedValue> Function::Execute(AbstractContext* ctx,
                                            TaggedValue value) const {
      TF_RETURN_IF_ERROR(VerifySupportedArgs(value));
      TF_ASSIGN_OR_RETURN(auto concrete_fn, GetConcreteFunction(value));
      std::vector<AbstractTensorHandle*> args;
      Flatten(value, &args);
      std::vector<AbstractTensorHandle*> outs(
          GetFlatSize(concrete_fn.output_signature));
      TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top