TensorFlow Python reference documentation
-
add_to_collection
as_dtype
bytes
control_dependencies
convert_to_tensor
convert_to_tensor_or_indexed_slices
device
DeviceSpec
Dimension
DType
get_collection
get_collection_ref
get_default_graph
get_seed
Graph
GraphKeys
import_graph_def
load_file_system_library
load_op_library
name_scope
NoGradient
op_scope
Operation
register_tensor_conversion_function
RegisterGradient
RegisterShape
reset_default_graph
Tensor
TensorShape
-
all_variables
assert_variables_initialized
assign
assign_add
assign_sub
constant_initializer
count_up_to
device
export_meta_graph
get_checkpoint_state
get_variable
get_variable_scope
import_meta_graph
IndexedSlices
initialize_all_variables
initialize_local_variables
initialize_variables
is_variable_initialized
latest_checkpoint
local_variables
make_template
moving_average_variables
no_regularizer
ones_initializer
random_normal_initializer
random_uniform_initializer
report_uninitialized_variables
Saver
scatter_add
scatter_sub
scatter_update
sparse_mask
trainable_variables
truncated_normal_initializer
uniform_unit_scaling_initializer
update_checkpoint_state
Variable
variable_axis_size_partitioner
variable_op_scope
variable_scope
VariableScope
zeros_initializer
-
batch_to_space
bitcast
boolean_mask
cast
concat
depth_to_space
dynamic_partition
dynamic_stitch
expand_dims
extract_image_patches
gather
gather_nd
one_hot
pack
pad
rank
reshape
reverse
reverse_sequence
saturate_cast
shape
shape_n
size
slice
space_to_batch
space_to_depth
split
squeeze
string_to_number
tile
to_bfloat16
to_double
to_float
to_int32
to_int64
transpose
unique_with_counts
unpack
Math:
abs
accumulate_n
acos
add
add_n
argmax
argmin
asin
atan
batch_cholesky
batch_cholesky_solve
batch_fft
batch_fft2d
batch_fft3d
batch_ifft
batch_ifft2d
batch_ifft3d
batch_matmul
batch_matrix_band_part
batch_matrix_determinant
batch_matrix_diag
batch_matrix_diag_part
batch_matrix_inverse
batch_matrix_solve
batch_matrix_solve_ls
batch_matrix_triangular_solve
batch_self_adjoint_eig
ceil
cholesky
cholesky_solve
complex
complex_abs
conj
cos
cross
diag
diag_part
digamma
div
edit_distance
erf
erfc
exp
fft
fft2d
fft3d
floor
floordiv
ifft
ifft2d
ifft3d
igamma
igammac
imag
inv
invert_permutation
lbeta
lgamma
listdiff
log
matmul
matrix_determinant
matrix_inverse
matrix_solve
matrix_solve_ls
matrix_triangular_solve
maximum
minimum
mod
mul
neg
polygamma
pow
real
reduce_all
reduce_any
reduce_max
reduce_mean
reduce_min
reduce_prod
reduce_sum
round
rsqrt
scalar_mul
segment_max
segment_mean
segment_min
segment_prod
segment_sum
self_adjoint_eig
sign
sin
sparse_segment_mean
sparse_segment_sqrt_n
sparse_segment_sqrt_n_grad
sparse_segment_sum
sqrt
square
squared_difference
sub
tan
trace
transpose
truediv
unique
unsorted_segment_sum
where
zeta
-
adjust_brightness
adjust_contrast
adjust_hue
adjust_saturation
central_crop
convert_image_dtype
crop_to_bounding_box
decode_jpeg
decode_png
draw_bounding_boxes
encode_jpeg
encode_png
extract_glimpse
flip_left_right
flip_up_down
grayscale_to_rgb
hsv_to_rgb
pad_to_bounding_box
per_image_whitening
random_brightness
random_contrast
random_flip_left_right
random_flip_up_down
random_hue
random_saturation
resize_area
resize_bicubic
resize_bilinear
resize_image_with_crop_or_pad
resize_images
resize_nearest_neighbor
rgb_to_grayscale
rgb_to_hsv
sample_distorted_bounding_box
transpose_image
-
batch
batch_join
decode_csv
decode_json_example
decode_raw
FIFOQueue
FixedLenFeature
FixedLengthRecordReader
FixedLenSequenceFeature
IdentityReader
input_producer
limit_epochs
match_filenames_once
matching_files
PaddingFIFOQueue
parse_example
parse_single_example
placeholder
placeholder_with_default
QueueBase
RandomShuffleQueue
range_input_producer
read_file
ReaderBase
shuffle_batch
shuffle_batch_join
size
slice_input_producer
sparse_placeholder
string_input_producer
TextLineReader
TFRecordReader
VarLenFeature
WholeFileReader
-
atrous_conv2d
avg_pool
avg_pool3d
batch_normalization
bias_add
bidirectional_rnn
compute_accidental_hits
conv2d
conv2d_transpose
conv3d
depthwise_conv2d
depthwise_conv2d_native
dilation2d
dropout
dynamic_rnn
elu
embedding_lookup
embedding_lookup_sparse
erosion2d
fixed_unigram_candidate_sampler
in_top_k
l2_loss
l2_normalize
learned_unigram_candidate_sampler
local_response_normalization
log_softmax
log_uniform_candidate_sampler
max_pool
max_pool3d
max_pool_with_argmax
moments
nce_loss
normalize_moments
relu
relu6
rnn
sampled_softmax_loss
separable_conv2d
sigmoid
sigmoid_cross_entropy_with_logits
softmax
softmax_cross_entropy_with_logits
softplus
softsign
sparse_softmax_cross_entropy_with_logits
state_saving_rnn
sufficient_statistics
tanh
top_k
uniform_candidate_sampler
weighted_cross_entropy_with_logits
-
AbortedError
AlreadyExistsError
CancelledError
DataLossError
DeadlineExceededError
FailedPreconditionError
get_default_session
InteractiveSession
InternalError
InvalidArgumentError
NotFoundError
OpError
OutOfRangeError
PermissionDeniedError
ResourceExhaustedError
Session
UnauthenticatedError
UnavailableError
UnimplementedError
UnknownError
-
AdadeltaOptimizer
AdagradOptimizer
AdamOptimizer
add_queue_runner
AggregationMethod
audio_summary
clip_by_average_norm
clip_by_global_norm
clip_by_norm
clip_by_value
ClusterSpec
Coordinator
exponential_decay
ExponentialMovingAverage
FtrlOptimizer
generate_checkpoint_state_proto
global_norm
global_step
GradientDescentOptimizer
gradients
histogram_summary
image_summary
LooperThread
merge_all_summaries
merge_summary
MomentumOptimizer
Optimizer
QueueRunner
replica_device_setter
RMSPropOptimizer
scalar_summary
Server
SessionManager
start_queue_runners
stop_gradient
summary_iterator
SummaryWriter
Supervisor
write_graph
zero_fraction
-
add_arg_scope
add_model_variable
arg_scope
arg_scoped_arguments
assert_global_step
assert_or_get_global_step
assert_same_float_dtype
assert_scalar_int
convert_to_tensor_or_sparse_tensor
create_global_step
get_global_step
get_graph_from_inputs
get_local_variables
get_model_variables
get_or_create_global_step
get_unique_variable
get_variables
get_variables_by_name
get_variables_by_suffix
get_variables_to_restore
has_arg_scope
is_non_decreasing
is_numeric_tensor
is_strictly_increasing
local_variable
model_variable
reduce_sum_n
safe_embedding_lookup_sparse
variable
VariableDeviceChooser
with_same_shape
with_shape
-
BaseEstimator
DNNClassifier
DNNRegressor
Estimator
evaluate
extract_dask_data
extract_dask_labels
extract_pandas_data
extract_pandas_labels
extract_pandas_matrix
infer
LinearClassifier
LinearRegressor
ModeKeys
NanLossDuringTrainingError
read_batch_examples
read_batch_features
read_batch_record_features
run_feeds
run_n
RunConfig
TensorFlowClassifier
TensorFlowDNNClassifier
TensorFlowDNNRegressor
TensorFlowEstimator
TensorFlowLinearClassifier
TensorFlowLinearRegressor
TensorFlowRegressor
TensorFlowRNNClassifier
TensorFlowRNNRegressor
train
-
accuracy
auc_using_histogram
confusion_matrix
set_difference
set_intersection
set_size
set_union
streaming_accuracy
streaming_auc
streaming_mean
streaming_mean_absolute_error
streaming_mean_cosine_distance
streaming_mean_relative_error
streaming_mean_squared_error
streaming_percentage_less
streaming_precision
streaming_recall
streaming_recall_at_k
streaming_root_mean_squared_error
streaming_sparse_precision_at_k
streaming_sparse_recall_at_k