aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/docs_src/api_guides/python/framework.md
blob: 40a6c0783aa321c435d7de59061f0037ea229a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Building Graphs
[TOC]

Classes and functions for building TensorFlow graphs.

## Core graph data structures

*   `tf.Graph`
*   `tf.Operation`
*   `tf.Tensor`

## Tensor types

*   `tf.DType`
*   `tf.as_dtype`

## Utility functions

*   `tf.device`
*   `tf.container`
*   `tf.name_scope`
*   `tf.control_dependencies`
*   `tf.convert_to_tensor`
*   `tf.convert_to_tensor_or_indexed_slices`
*   `tf.convert_to_tensor_or_sparse_tensor`
*   `tf.get_default_graph`
*   `tf.reset_default_graph`
*   `tf.import_graph_def`
*   `tf.load_file_system_library`
*   `tf.load_op_library`

## Graph collections

*   `tf.add_to_collection`
*   `tf.get_collection`
*   `tf.get_collection_ref`
*   `tf.GraphKeys`

## Defining new operations

*   `tf.RegisterGradient`
*   `tf.NotDifferentiable`
*   `tf.NoGradient`
*   `tf.TensorShape`
*   `tf.Dimension`
*   `tf.op_scope`
*   `tf.get_seed`

## For libraries building on TensorFlow

*   `tf.register_tensor_conversion_function`