Skip to content

Questions about Value_Tensor_map and Evaluated_Value_map? (Not an issue, just try to understand them...) #291

@maxyanghu

Description

@maxyanghu

I have just gone through TRTorch's 2020 GTC talk/slides/documentation focusing mainly on the graph conversion implementation part. There are some confusions of concepts and questions:

  1. What's the relationship between torch::jit::Values and torch::jit::IValue, Are they the same thing? I noticed they are used interchangeably in some situations and are referring to different classes in others.
  2. Why do we need to record Value -> ITensor map and Value->IValue map? What's the main use of these two maps?

Could someone help me? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions