The call is mandatory before a model can be run. The function will run shape inference and resolve, if possible, the output shapes which can then be accessed by callingGetOutputTensorShapes(). This is a potentially expensive call and should be called lazily if possible.