Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Move TensorHandle related code out of ShapedArray. #558

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

pschuh
Copy link
Contributor

@pschuh pschuh commented Nov 15, 2019

This decouples ShapedArray from TensorHandle and allows for alternative implementations. The current implementation uses an enum to specify the backing storage. Switching to virtual dispatch allows moving all the TensorHandle related logic to a separate file.

@pschuh pschuh requested review from asuhan and bgogul November 15, 2019 23:40
Copy link
Contributor

@bgogul bgogul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor nits...

@pschuh pschuh force-pushed the shaped-array-handle-free branch from 620cea6 to 19875a0 Compare November 16, 2019 01:30
@pschuh pschuh merged commit fb164d1 into tensorflow:master Nov 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants