Adding a New Op
Some familiarity with C++.
Must have downloaded TensorFlow source,
and be able to build it.
If you'd like to incorporate an operation that isn't covered by the existing
library, you can create a custom Op. To incorporate your custom Op, you'll need
f supporting a file format into two pieces:
File formats: We use a Reader Op to read a record (which can be any
string) from a file.
Record formats: We use decoder or parsing Ops to turn a string record
into tensors usable by TensorFlow.
For example, to read a
CSV file, we use
a Reader for text fi...
value to the Variable() constructor. TensorFlow
provides a collection of ops that produce tensors often used for initialization
from constants or random values.
Note that all these ops require you to specify the shape of the tensors. That
shape automatically becomes the shape of the variable. Va...
Core graph data structures
tf.convert_to_tensor(value, dtype=None, name=None)...