PySyft-TensorFlow icon indicating copy to clipboard operation
PySyft-TensorFlow copied to clipboard

Abstract duplicate code in TensorFlowTensor & TensorFlowVariable

Open jvmncs opened this issue 5 years ago • 1 comments

To do this properly, we'll want to move some of the code in TorchTensor from syft/frameworks/torch/tensors/interpreters/native.py into the AbstractTensor at syft/generic/tensor.py, and then call most of our code for these classes from the AbstractTensor base for TFTensor & TFVar.

jvmncs avatar Oct 11 '19 16:10 jvmncs

KerasObject seems to fulfill similar functions as well -- the class hierarchy here should probably be reviewed

jvmncs avatar Oct 21 '19 16:10 jvmncs