The Proxy class is a vestige of a very early implementation that did not use TensorFlow. After moving to TensorFlow, it was retained as a way to abstract away TensorFlow parameter choices, make model restarts easy, and compute pair-wise similarity matrices. At this point the Proxy class causes too many problems, both in terms of code maintenance and semantics to potential users.
As part of the deprecation, all examples will be updated so that they do not use the Proxy class.
Basic restart functionality will still be available via the psiz.restart.Restarter class.
Similarity matrices will be computed using pure TensorFlow utility functions (e.g., pairwise_index_dataset and pairwise_similarity).
The
Proxy
class is a vestige of a very early implementation that did not use TensorFlow. After moving to TensorFlow, it was retained as a way to abstract away TensorFlow parameter choices, make model restarts easy, and compute pair-wise similarity matrices. At this point theProxy
class causes too many problems, both in terms of code maintenance and semantics to potential users.As part of the deprecation, all examples will be updated so that they do not use the
Proxy
class.psiz.restart.Restarter
class.pairwise_index_dataset
andpairwise_similarity
).