-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add as_tensor_type
method to TensorTable
for framework column conversion
#285
Add as_tensor_type
method to TensorTable
for framework column conversion
#285
Conversation
One of the reasons for the method being called from merlin.dtypes import dtype
dtype("int64")
# => DType(name='int64', element_type=<ElementType.Int: 'int'>, element_size=64, element_unit=None, signed=True, shape=Shape(dims=None))
dtype("int64").to("tensorflow")
# => tf.int64 Perhaps we could borrow the name |
Those all sound like good suggestions to me, and I can see any of them working okay |
Documentation preview |
to
method to TensorTable
for framework column conversionas_tensor_type
method to TensorTable
for framework column conversion
I've re-requested your review @karlhigley since I've made some updates that change things quite a bit since you last reviewed.
|
Adds a convenience method
to
to theTensorTable
for converting columns between framework types.Example usage