Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When to use tf.resource and tf.variant?

Tags:

tensorflow

TensorFlow DType has tf.resource and tf.variant with pretty vague description. Can someone please explain to me what those two types are for? It'd be great if there are examples. Thanks a lot!

like image 970
Chip Huyen Avatar asked Jan 17 '18 20:01

Chip Huyen


1 Answers

These are internal types for tracking special tensor objects such as variables and datasets: https://www.youtube.com/watch?v=uaRO0AV6Tto

like image 94
PeterN Avatar answered Sep 22 '22 23:09

PeterN