#TensorFlow (BUTTON) TensorFlow * Install Learn * Introduction New to TensorFlow? * TensorFlow The core open source ML library * For JavaScript TensorFlow.js for ML using JavaScript * For Mobile & IoT TensorFlow Lite for mobile and embedded devices * For Production TensorFlow Extended for end-to-end ML components * Swift for TensorFlow (in beta) API * API * r2.0 (stable) * r2.1 (rc) * API r1 * r1.15 * More… Resources * Models & datasets Pre-trained models and datasets built by Google and the community * Tools Ecosystem of tools to help you use TensorFlow * Libraries & extensions Libraries and extensions built on TensorFlow * Learn ML Educational resources to learn the fundamentals of ML with TensorFlow Community Why TensorFlow * About * Case studies * Trusted Partner Program ____________________ (BUTTON) (BUTTON) [Language_________] GitHub * TensorFlow Core r2.0 Overview Python JavaScript C++ Java (BUTTON) TensorFlow * * Install * Learn + More * API + More + Overview + Python + JavaScript + C++ + Java * Resources + More * Community * Why TensorFlow + More * GitHub * Overview * All Symbols * Python r2.0 * tf + Overview + AggregationMethod + argsort + batch_to_space + bitcast + boolean_mask + broadcast_dynamic_shape + broadcast_static_shape + broadcast_to + case + clip_by_global_norm + clip_by_norm + clip_by_value + concat + cond + constant + constant_initializer + control_dependencies + convert_to_tensor + CriticalSection + custom_gradient + device + DeviceSpec + dynamic_partition + dynamic_stitch + edit_distance + einsum + ensure_shape + executing_eagerly + expand_dims + extract_volume_patches + eye + fill + fingerprint + foldl + foldr + function + gather + gather_nd + get_logger + get_static_value + gradients + GradientTape + grad_pass_through + Graph + group + guarantee_const + hessians + histogram_fixed_width + histogram_fixed_width_bins + identity + identity_n + IndexedSlices + IndexedSlicesSpec + init_scope + is_tensor + linspace + load_library + load_op_library + make_ndarray + make_tensor_proto + map_fn + meshgrid + Module + name_scope + nondifferentiable_batch_function + norm + no_gradient + no_op + numpy_function + ones + ones_initializer + ones_like + one_hot + Operation + OptionalSpec + pad + parallel_stack + print + py_function + RaggedTensor + RaggedTensorSpec + random_normal_initializer + random_uniform_initializer + range + rank + realdiv + recompute_grad + reduce_all + RegisterGradient + register_tensor_conversion_function + required_space_to_batch_paddings + reshape + reverse + reverse_sequence + roll + scan + scatter_nd + searchsorted + sequence_mask + shape + shape_n + size + slice + sort + space_to_batch + space_to_batch_nd + SparseTensorSpec + split + squeeze + stack + stop_gradient + strided_slice + switch_case + Tensor + TensorArray + TensorArraySpec + tensordot + TensorShape + TensorSpec + tensor_scatter_nd_add + tensor_scatter_nd_sub + tensor_scatter_nd_update + tile + timestamp + transpose + truncatediv + truncatemod + tuple + TypeSpec + UnconnectedGradients + unique + unique_with_counts + unravel_index + unstack + Variable + Variable.SaveSliceInfo + VariableAggregation + VariableSynchronization + variable_creator_scope + vectorized_map + where + while_loop + zeros + zeros_initializer + zeros_like * tf.audio + Overview + decode_wav + encode_wav * tf.autograph + Overview + set_verbosity + to_code + to_graph + trace + experimental o Overview o do_not_convert o Feature * tf.bitwise + Overview + bitwise_and + bitwise_or + bitwise_xor + invert + left_shift + right_shift * tf.compat + Overview + as_bytes + as_str_any + as_text + dimension_at_index + dimension_value + forward_compatibility_horizon + forward_compatible + path_to_str + v1 o Overview o add_check_numerics_ops o add_to_collection o add_to_collections o all_variables o argmax o argmin o arg_max o arg_min o assert_equal o assert_greater o assert_greater_equal o assert_integer o assert_less o assert_less_equal o assert_near o assert_negative o assert_none_equal o assert_non_negative o assert_non_positive o assert_positive o assert_rank o assert_rank_at_least o assert_rank_in o assert_scalar o assert_type o assert_variables_initialized o assign o assign_add o assign_sub o AttrValue o AttrValue.ListValue o batch_gather o batch_scatter_update o batch_to_space o batch_to_space_nd o bincount o boolean_mask o case o clip_by_average_norm o colocate_with o cond o ConditionalAccumulator o ConditionalAccumulatorBase o ConfigProto o ConfigProto.DeviceCountEntry o ConfigProto.Experimental o confusion_matrix o constant o container o control_flow_v2_enabled o convert_to_tensor o convert_to_tensor_or_indexed_slices o convert_to_tensor_or_sparse_tensor o count_nonzero o count_up_to o create_partitioned_variables o decode_csv o decode_raw o delete_session_tensor o depth_to_space o device o DeviceSpec o Dimension o disable_control_flow_v2 o disable_eager_execution o disable_resource_variables o disable_tensor_equality o disable_v2_behavior o disable_v2_tensorshape o enable_control_flow_v2 o enable_eager_execution o enable_resource_variables o enable_tensor_equality o enable_v2_behavior o enable_v2_tensorshape o Event o expand_dims o extract_image_patches o FixedLengthRecordReader o fixed_size_partitioner o floor_div o gather o gather_nd o get_collection o get_collection_ref o get_default_graph o get_default_session o get_local_variable o get_seed o get_session_handle o get_session_tensor o get_variable o get_variable_scope o global_variables o global_variables_initializer o GPUOptions o GPUOptions.Experimental o GPUOptions.Experimental.VirtualDevices o gradients o GraphDef o GraphKeys o GraphOptions o hessians o HistogramProto o IdentityReader o initialize_all_tables o initialize_all_variables o initialize_local_variables o initialize_variables o InteractiveSession o is_variable_initialized o LMDBReader o load_file_system_library o local_variables o local_variables_initializer o LogMessage o make_template o MetaGraphDef o MetaGraphDef.CollectionDefEntry o MetaGraphDef.MetaInfoDef o MetaGraphDef.SignatureDefEntry o min_max_variable_partitioner o model_variables o moving_average_variables o multinomial o NameAttrList o NameAttrList.AttrEntry o NodeDef o NodeDef.AttrEntry o NodeDef.ExperimentalDebugInfo o norm o no_regularizer o ones_like o OptimizerOptions o op_scope o pad o parse_example o parse_single_example o placeholder o placeholder_with_default o Print o py_func o quantize_v2 o random_normal_initializer o random_poisson o random_uniform_initializer o ReaderBase o reduce_all o reduce_any o reduce_join o reduce_logsumexp o reduce_max o reduce_mean o reduce_min o reduce_prod o reduce_sum o report_uninitialized_variables o reset_default_graph o resource_variables_enabled o reverse_sequence o RunMetadata o RunMetadata.FunctionGraphs o RunOptions o RunOptions.Experimental o scalar_mul o scatter_add o scatter_div o scatter_max o scatter_min o scatter_mul o scatter_nd_add o scatter_nd_sub o scatter_nd_update o scatter_sub o scatter_update o serialize_many_sparse o serialize_sparse o Session o SessionLog o setdiff1d o set_random_seed o shape o size o space_to_batch o space_to_depth o SparseConditionalAccumulator o SparseTensorValue o sparse_add o sparse_concat o sparse_matmul o sparse_merge o sparse_placeholder o sparse_reduce_max o sparse_reduce_max_sparse o sparse_reduce_sum o sparse_reduce_sum_sparse o sparse_segment_mean o sparse_segment_sqrt_n o sparse_segment_sum o sparse_split o sparse_to_dense o squeeze o string_split o string_to_hash_bucket o string_to_number o substr o Summary o Summary.Audio o Summary.Image o Summary.Value o SummaryMetadata o SummaryMetadata.PluginData o tables_initializer o TensorInfo o TensorInfo.CooSparse o TextLineReader o TFRecordReader o to_bfloat16 o to_complex128 o to_complex64 o to_double o to_float o to_int32 o to_int64 o trainable_variables o transpose o truncated_normal_initializer o tuple o uniform_unit_scaling_initializer o Variable o VariableAggregation o VariableScope o variables_initializer o variable_axis_size_partitioner o variable_creator_scope o variable_op_scope o variable_scope o verify_tensor_all_finite o where o while_loop o WholeFileReader o wrap_function o zeros_like o app # Overview # run o audio # Overview o autograph # Overview # to_code # to_graph # experimental @ Overview o bitwise # Overview o compat # Overview o config # Overview # experimental @ Overview # optimizer @ Overview # threading @ Overview o data # Overview # Dataset # FixedLengthRecordDataset # get_output_classes # get_output_shapes # get_output_types # Iterator # make_initializable_iterator # make_one_shot_iterator # TextLineDataset # TFRecordDataset # experimental @ Overview @ choose_from_datasets @ Counter @ CsvDataset @ make_batched_features_dataset @ make_csv_dataset @ map_and_batch_with_legacy_function @ RaggedTensorStructure @ RandomDataset @ sample_from_datasets @ SparseTensorStructure @ SqlDataset @ StatsAggregator @ TensorArrayStructure @ TensorStructure o debugging # Overview # assert_shapes o distribute # Overview # get_loss_reduction # MirroredStrategy # OneDeviceStrategy # Strategy # StrategyExtended # cluster_resolver @ Overview # experimental @ Overview @ CentralStorageStrategy @ MultiWorkerMirroredStrategy @ ParameterServerStrategy @ TPUStrategy o distributions # Overview # Bernoulli # Beta # Categorical # Dirichlet # DirichletMultinomial # Distribution # Exponential # Gamma # kl_divergence # Laplace # Multinomial # Normal # RegisterKL # ReparameterizationType # StudentT # Uniform o dtypes # Overview o errors # Overview # error_code_from_exception_type # exception_type_from_error_code # raise_exception_on_not_ok_status o estimator # Overview # BaselineClassifier # BaselineEstimator # BaselineRegressor # classifier_parse_example_spec # DNNClassifier # DNNEstimator # DNNLinearCombinedClassifier # DNNLinearCombinedEstimator # DNNLinearCombinedRegressor # DNNRegressor # Estimator # LinearClassifier # LinearEstimator # LinearRegressor # regressor_parse_example_spec # experimental @ Overview @ dnn_logit_fn_builder @ KMeans @ linear_logit_fn_builder # export @ Overview # inputs @ Overview @ numpy_input_fn @ pandas_input_fn # tpu @ Overview @ InputPipelineConfig @ RunConfig @ TPUConfig @ TPUEstimator @ TPUEstimatorSpec @ experimental - Overview - EmbeddingConfigSpec o experimental # Overview # output_all_intermediates o feature_column # Overview # categorical_column_with_vocabulary_file # input_layer # linear_model # make_parse_example_spec # shared_embedding_columns o flags # Overview # adopt_module_key_flags # ArgumentParser # ArgumentSerializer # BaseListParser # BooleanFlag # BooleanParser # CantOpenFlagFileError # CsvListSerializer # declare_key_flag # DEFINE # DEFINE_alias # DEFINE_bool # DEFINE_enum # DEFINE_enum_class # DEFINE_flag # DEFINE_float # DEFINE_integer # DEFINE_list # DEFINE_multi # DEFINE_multi_enum # DEFINE_multi_enum_class # DEFINE_multi_float # DEFINE_multi_integer # DEFINE_multi_string # DEFINE_spaceseplist # DEFINE_string # disclaim_key_flags # doc_to_help # DuplicateFlagError # EnumClassFlag # EnumClassParser # EnumFlag # EnumParser # Error # Flag # FlagNameConflictsWithMethodError # FlagValues # flag_dict_to_args # FloatParser # get_help_width # IllegalFlagValueError # IntegerParser # ListParser # ListSerializer # mark_bool_flags_as_mutual_exclusive # mark_flags_as_mutual_exclusive # mark_flags_as_required # mark_flag_as_required # MultiEnumClassFlag # MultiFlag # multi_flags_validator # register_multi_flags_validator # register_validator # text_wrap # UnparsedFlagAccessError # UnrecognizedFlagError # ValidationError # validator # WhitespaceSeparatedListParser # tf_decorator @ Overview @ make_decorator @ rewrap @ TFDecorator @ unwrap @ tf_stack - Overview - convert_stack - CurrentModuleFilter - extract_stack - extract_stack_file_and_line - FileAndLine - StackTraceFilter - StackTraceMapper - StackTraceTransform o gfile # Overview # Copy # DeleteRecursively # Exists # FastGFile # Glob # IsDirectory # ListDirectory # MakeDirs # MkDir # Remove # Rename # Stat # Walk o graph_util # Overview # convert_variables_to_constants # extract_sub_graph # must_run_on_cpu # remove_training_nodes # tensor_shape_from_node_def_name o image # Overview # crop_and_resize # draw_bounding_boxes # extract_glimpse # resize # ResizeMethod # resize_area # resize_bicubic # resize_bilinear # resize_image_with_pad # resize_nearest_neighbor # sample_distorted_bounding_box o initializers # Overview o io # Overview # TFRecordCompressionType # tf_record_iterator # gfile @ Overview o keras # Overview # activations @ Overview # applications @ Overview @ densenet - Overview @ imagenet_utils - Overview @ inception_resnet_v2 - Overview @ inception_v3 - Overview @ mobilenet - Overview @ mobilenet_v2 - Overview @ nasnet - Overview @ resnet - Overview @ resnet50 - Overview @ resnet_v2 - Overview @ vgg16 - Overview @ vgg19 - Overview @ xception - Overview # backend @ Overview @ get_session @ name_scope @ set_session # callbacks @ Overview @ TensorBoard # constraints @ Overview # datasets @ Overview @ boston_housing - Overview @ cifar10 - Overview @ cifar100 - Overview @ fashion_mnist - Overview @ imdb - Overview @ mnist - Overview @ reuters - Overview # estimator @ Overview @ model_to_estimator # experimental @ Overview # initializers @ Overview @ Constant @ glorot_normal @ glorot_uniform @ he_normal @ he_uniform @ Identity @ Initializer @ lecun_normal @ lecun_uniform @ Ones @ Orthogonal @ RandomNormal @ RandomUniform @ TruncatedNormal @ VarianceScaling @ Zeros # layers @ Overview @ BatchNormalization @ CuDNNGRU @ CuDNNLSTM @ DenseFeatures @ GRU @ GRUCell @ LSTM @ LSTMCell # losses @ Overview # metrics @ Overview # mixed_precision @ Overview @ experimental - Overview # models @ Overview # optimizers @ Overview @ schedules - Overview # preprocessing @ Overview @ image - Overview @ sequence - Overview @ text - Overview # regularizers @ Overview # utils @ Overview # wrappers @ Overview @ scikit_learn - Overview o layers # Overview # AveragePooling1D # AveragePooling2D # AveragePooling3D # average_pooling1d # average_pooling2d # average_pooling3d # BatchNormalization # batch_normalization # Conv1D # conv1d # Conv2D # conv2d # Conv2DTranspose # conv2d_transpose # Conv3D # conv3d # Conv3DTranspose # conv3d_transpose # Dense # dense # Dropout # dropout # Flatten # flatten # Layer # MaxPooling1D # MaxPooling2D # MaxPooling3D # max_pooling1d # max_pooling2d # max_pooling3d # SeparableConv1D # SeparableConv2D # separable_conv1d # separable_conv2d # experimental @ Overview @ keras_style_scope @ set_keras_style o linalg # Overview # l2_normalize o lite # Overview # OpHint # OpHint.OpHintArgumentTracker # TFLiteConverter # TocoConverter # toco_convert # constants @ Overview # experimental @ Overview @ convert_op_hints_to_stubs @ get_potentially_supported_ops @ nn - Overview - dynamic_rnn - TFLiteLSTMCell - TfLiteRNNCell o logging # Overview # debug # error # fatal # flush # get_verbosity # info # log # log_every_n # log_first_n # log_if # set_verbosity # TaskLevelStatusMessage # vlog # warn # warning o lookup # Overview # StaticHashTable # StaticVocabularyTable # experimental @ Overview o losses # Overview # absolute_difference # add_loss # compute_weighted_loss # cosine_distance # get_losses # get_regularization_loss # get_regularization_losses # get_total_loss # hinge_loss # huber_loss # log_loss # mean_pairwise_squared_error # mean_squared_error # Reduction # sigmoid_cross_entropy # softmax_cross_entropy # sparse_softmax_cross_entropy o manip # Overview o math # Overview # in_top_k # log_softmax # softmax o metrics # Overview # accuracy # auc # average_precision_at_k # false_negatives # false_negatives_at_thresholds # false_positives # false_positives_at_thresholds # mean # mean_absolute_error # mean_cosine_distance # mean_iou # mean_per_class_accuracy # mean_relative_error # mean_squared_error # mean_tensor # percentage_below # precision # precision_at_k # precision_at_thresholds # precision_at_top_k # recall # recall_at_k # recall_at_thresholds # recall_at_top_k # root_mean_squared_error # sensitivity_at_specificity # sparse_average_precision_at_k # sparse_precision_at_k # specificity_at_sensitivity # true_negatives # true_negatives_at_thresholds # true_positives # true_positives_at_thresholds o nest # Overview o nn # Overview # avg_pool # batch_norm_with_global_normalization # bidirectional_dynamic_rnn # conv1d # conv2d # conv2d_backprop_filter # conv2d_backprop_input # conv2d_transpose # conv3d # conv3d_backprop_filter # conv3d_transpose # convolution # crelu # ctc_beam_search_decoder # ctc_loss # depthwise_conv2d # depthwise_conv2d_native # dilation2d # dropout # dynamic_rnn # embedding_lookup # embedding_lookup_sparse # erosion2d # fractional_avg_pool # fractional_max_pool # fused_batch_norm # max_pool # max_pool_with_argmax # moments # nce_loss # pool # quantized_avg_pool # quantized_conv2d # quantized_max_pool # quantized_relu_x # raw_rnn # relu_layer # safe_embedding_lookup_sparse # sampled_softmax_loss # separable_conv2d # sigmoid_cross_entropy_with_logits # softmax_cross_entropy_with_logits # softmax_cross_entropy_with_logits_v2 # sparse_softmax_cross_entropy_with_logits # static_bidirectional_rnn # static_rnn # static_state_saving_rnn # sufficient_statistics # weighted_cross_entropy_with_logits # weighted_moments # xw_plus_b # rnn_cell @ Overview @ BasicLSTMCell @ BasicRNNCell @ DeviceWrapper @ DropoutWrapper @ GRUCell @ LSTMCell @ LSTMStateTuple @ MultiRNNCell @ ResidualWrapper @ RNNCell o profiler # Overview # AdviceProto # AdviceProto.Checker # AdviceProto.CheckersEntry # advise # GraphNodeProto # GraphNodeProto.InputShapesEntry # MultiGraphNodeProto # OpLogProto # OpLogProto.IdToStringEntry # profile # ProfileOptionBuilder # Profiler # write_op_log o python_io # Overview o quantization # Overview o queue # Overview o ragged # Overview # constant_value # placeholder # RaggedTensorValue o random # Overview # stateless_multinomial # experimental @ Overview o raw_ops # Overview o resource_loader # Overview # get_data_files_path # get_path_to_datafile # get_root_dir_with_all_resources # load_resource # readahead_file_path o saved_model # Overview # Builder # build_signature_def # build_tensor_info # classification_signature_def # contains_saved_model # get_tensor_from_tensor_info # is_valid_signature # load # main_op_with_restore # predict_signature_def # regression_signature_def # simple_save # builder @ Overview # constants @ Overview # experimental @ Overview # loader @ Overview # main_op @ Overview @ main_op # signature_constants @ Overview # signature_def_utils @ Overview # tag_constants @ Overview # utils @ Overview o sets # Overview o signal # Overview o sparse # Overview o spectral # Overview o strings # Overview # length # split # substr o summary # Overview # all_v2_summary_ops # audio # FileWriter # FileWriterCache # get_summary_description # histogram # image # initialize # merge # merge_all # scalar # SummaryDescription # TaggedRunMetadata # tensor_summary # text o sysconfig # Overview o test # Overview # assert_equal_graph_def # compute_gradient # compute_gradient_error # get_temp_dir # StubOutForTesting # test_src_dir_path o tpu # Overview # batch_parallel # bfloat16_scope # core # CrossShardOptimizer # cross_replica_sum # initialize_system # outside_compilation # replicate # rewrite # shard # shutdown_system # experimental @ Overview @ AdagradParameters @ AdamParameters @ embedding_column @ shared_embedding_columns @ StochasticGradientDescentParameters o train # Overview # AdadeltaOptimizer # AdagradDAOptimizer # AdagradOptimizer # AdamOptimizer # add_queue_runner # assert_global_step # basic_train_loop # batch # batch_join # Checkpoint # checkpoint_exists # ChiefSessionCreator # cosine_decay # cosine_decay_restarts # create_global_step # do_quantize_training_on_graphdef # exponential_decay # export_meta_graph # FtrlOptimizer # generate_checkpoint_state_proto # get_checkpoint_mtimes # get_global_step # get_or_create_global_step # global_step # GradientDescentOptimizer # import_meta_graph # init_from_checkpoint # input_producer # inverse_time_decay # limit_epochs # linear_cosine_decay # LooperThread # maybe_batch # maybe_batch_join # maybe_shuffle_batch # maybe_shuffle_batch_join # MomentumOptimizer # MonitoredSession # MonitoredSession.StepContext # MonitoredTrainingSession # natural_exp_decay # NewCheckpointReader # noisy_linear_cosine_decay # Optimizer # piecewise_constant # polynomial_decay # ProximalAdagradOptimizer # ProximalGradientDescentOptimizer # QueueRunner # range_input_producer # remove_checkpoint # replica_device_setter # RMSPropOptimizer # Saver # SaverDef # Scaffold # sdca_fprint # sdca_optimizer # sdca_shrink_l1 # SessionCreator # SessionManager # shuffle_batch # shuffle_batch_join # SingularMonitoredSession # slice_input_producer # start_queue_runners # string_input_producer # summary_iterator # Supervisor # SyncReplicasOptimizer # update_checkpoint_state # warm_start # WorkerSessionCreator # experimental @ Overview @ disable_mixed_precision_graph_rewrite @ enable_mixed_precision_graph_rewrite @ MixedPrecisionLossScaleOptimizer # queue_runner @ Overview o user_ops # Overview # my_fact o version # Overview o xla # Overview # experimental @ Overview + v2 o Overview o audio # Overview o autograph # Overview # experimental @ Overview o bitwise # Overview o compat # Overview o config # Overview # experimental @ Overview # optimizer @ Overview # threading @ Overview o data # Overview # experimental @ Overview o debugging # Overview o distribute # Overview # cluster_resolver @ Overview # experimental @ Overview o dtypes # Overview o errors # Overview o estimator # Overview o experimental # Overview o feature_column # Overview o graph_util # Overview o image # Overview o io # Overview # gfile @ Overview o keras # Overview # activations @ Overview # applications @ Overview @ densenet - Overview @ imagenet_utils - Overview @ inception_resnet_v2 - Overview @ inception_v3 - Overview @ mobilenet - Overview @ mobilenet_v2 - Overview @ nasnet - Overview @ resnet - Overview @ resnet50 - Overview @ resnet_v2 - Overview @ vgg16 - Overview @ vgg19 - Overview @ xception - Overview # backend @ Overview # callbacks @ Overview # constraints @ Overview # datasets @ Overview @ boston_housing - Overview @ cifar10 - Overview @ cifar100 - Overview @ fashion_mnist - Overview @ imdb - Overview @ mnist - Overview @ reuters - Overview # estimator @ Overview # experimental @ Overview # initializers @ Overview # layers @ Overview # losses @ Overview # metrics @ Overview # mixed_precision @ Overview @ experimental - Overview # models @ Overview # optimizers @ Overview @ schedules - Overview # preprocessing @ Overview @ image - Overview @ sequence - Overview @ text - Overview # regularizers @ Overview # utils @ Overview # wrappers @ Overview @ scikit_learn - Overview o linalg # Overview o lite # Overview # experimental @ Overview o lookup # Overview # experimental @ Overview o math # Overview o nest # Overview o nn # Overview o quantization # Overview o queue # Overview o ragged # Overview o random # Overview # experimental @ Overview o raw_ops # Overview o saved_model # Overview o sets # Overview o signal # Overview o sparse # Overview o strings # Overview o sysconfig # Overview o test # Overview o tpu # Overview # experimental @ Overview o train # Overview # experimental @ Overview o version # Overview o xla # Overview # experimental @ Overview * tf.config + Overview + experimental_connect_to_cluster + experimental_connect_to_host + experimental_list_devices + experimental_run_functions_eagerly + get_soft_device_placement + set_soft_device_placement + experimental o Overview o get_device_policy o get_memory_growth o get_synchronous_execution o get_virtual_device_configuration o get_visible_devices o list_logical_devices o list_physical_devices o set_device_policy o set_memory_growth o set_synchronous_execution o set_virtual_device_configuration o set_visible_devices o VirtualDeviceConfiguration + optimizer o Overview o get_experimental_options o get_jit o set_experimental_options o set_jit + threading o Overview o get_inter_op_parallelism_threads o get_intra_op_parallelism_threads o set_inter_op_parallelism_threads o set_intra_op_parallelism_threads * tf.data + Overview + Dataset + DatasetSpec + FixedLengthRecordDataset + Options + TextLineDataset + TFRecordDataset + experimental o Overview o bucket_by_sequence_length o bytes_produced_stats o cardinality o CheckpointInputPipelineHook o choose_from_datasets o copy_to_device o Counter o CsvDataset o dense_to_sparse_batch o DistributeOptions o enumerate_dataset o from_variant o get_next_as_optional o get_single_element o get_structure o group_by_reducer o group_by_window o ignore_errors o latency_stats o make_batched_features_dataset o make_csv_dataset o make_saveable_from_iterator o MapVectorizationOptions o map_and_batch o OptimizationOptions o Optional o parallel_interleave o parse_example_dataset o prefetch_to_device o RandomDataset o Reducer o rejection_resample o sample_from_datasets o scan o shuffle_and_repeat o SqlDataset o StatsAggregator o StatsOptions o take_while o TFRecordWriter o ThreadingOptions o to_variant o unbatch o unique * tf.debugging + Overview + Assert + assert_all_finite + assert_equal + assert_greater + assert_greater_equal + assert_integer + assert_less + assert_less_equal + assert_near + assert_negative + assert_none_equal + assert_non_negative + assert_non_positive + assert_positive + assert_proper_iterable + assert_rank + assert_rank_at_least + assert_rank_in + assert_same_float_dtype + assert_scalar + assert_shapes + assert_type + check_numerics + get_log_device_placement + is_numeric_tensor + set_log_device_placement * tf.distribute + Overview + CrossDeviceOps + experimental_set_strategy + get_replica_context + get_strategy + has_strategy + HierarchicalCopyAllReduce + InputContext + InputReplicationMode + in_cross_replica_context + MirroredStrategy + NcclAllReduce + OneDeviceStrategy + ReduceOp + ReductionToOneDevice + ReplicaContext + Server + Strategy + StrategyExtended + cluster_resolver o Overview o ClusterResolver o GCEClusterResolver o KubernetesClusterResolver o SimpleClusterResolver o SlurmClusterResolver o TFConfigClusterResolver o TPUClusterResolver o UnionResolver + experimental o Overview o CentralStorageStrategy o CollectiveCommunication o MultiWorkerMirroredStrategy o ParameterServerStrategy o TPUStrategy * tf.dtypes + Overview + as_dtype + cast + complex + DType + saturate_cast * tf.errors + Overview + AbortedError + AlreadyExistsError + CancelledError + DataLossError + DeadlineExceededError + FailedPreconditionError + InternalError + InvalidArgumentError + NotFoundError + OpError + OutOfRangeError + PermissionDeniedError + ResourceExhaustedError + UnauthenticatedError + UnavailableError + UnimplementedError + UnknownError * tf.estimator + Overview + add_metrics + BaselineClassifier + BaselineEstimator + BaselineRegressor + BestExporter + BinaryClassHead + BoostedTreesClassifier + BoostedTreesEstimator + BoostedTreesRegressor + CheckpointSaverHook + CheckpointSaverListener + classifier_parse_example_spec + DNNClassifier + DNNEstimator + DNNLinearCombinedClassifier + DNNLinearCombinedEstimator + DNNLinearCombinedRegressor + DNNRegressor + Estimator + EstimatorSpec + EvalSpec + Exporter + FeedFnHook + FinalExporter + FinalOpsHook + GlobalStepWaiterHook + Head + LatestExporter + LinearClassifier + LinearEstimator + LinearRegressor + LoggingTensorHook + LogisticRegressionHead + ModeKeys + MultiClassHead + MultiHead + MultiLabelHead + NanLossDuringTrainingError + NanTensorHook + PoissonRegressionHead + ProfilerHook + RegressionHead + regressor_parse_example_spec + RunConfig + SecondOrStepTimer + SessionRunArgs + SessionRunContext + SessionRunHook + SessionRunValues + StepCounterHook + StopAtStepHook + SummarySaverHook + TrainSpec + train_and_evaluate + VocabInfo + WarmStartSettings + experimental o Overview o build_raw_supervised_input_receiver_fn o call_logit_fn o InMemoryEvaluatorHook o LinearSDCA o make_early_stopping_hook o make_stop_at_checkpoint_step_hook o RNNClassifier o RNNEstimator o stop_if_higher_hook o stop_if_lower_hook o stop_if_no_decrease_hook o stop_if_no_increase_hook + export o Overview o build_parsing_serving_input_receiver_fn o build_raw_serving_input_receiver_fn o ClassificationOutput o ExportOutput o PredictOutput o RegressionOutput o ServingInputReceiver o TensorServingInputReceiver * tf.experimental + Overview + function_executor_type * tf.feature_column + Overview + bucketized_column + categorical_column_with_hash_bucket + categorical_column_with_identity + categorical_column_with_vocabulary_file + categorical_column_with_vocabulary_list + crossed_column + embedding_column + indicator_column + make_parse_example_spec + numeric_column + sequence_categorical_column_with_hash_bucket + sequence_categorical_column_with_identity + sequence_categorical_column_with_vocabulary_file + sequence_categorical_column_with_vocabulary_list + sequence_numeric_column + shared_embeddings + weighted_categorical_column * tf.graph_util + Overview + import_graph_def * tf.image + Overview + adjust_brightness + adjust_contrast + adjust_gamma + adjust_hue + adjust_jpeg_quality + adjust_saturation + central_crop + combined_non_max_suppression + convert_image_dtype + crop_and_resize + crop_to_bounding_box + draw_bounding_boxes + encode_png + extract_glimpse + extract_patches + flip_left_right + flip_up_down + grayscale_to_rgb + hsv_to_rgb + image_gradients + non_max_suppression + non_max_suppression_overlaps + non_max_suppression_padded + non_max_suppression_with_scores + pad_to_bounding_box + per_image_standardization + psnr + random_brightness + random_contrast + random_crop + random_flip_left_right + random_flip_up_down + random_hue + random_jpeg_quality + random_saturation + resize + ResizeMethod + resize_with_crop_or_pad + resize_with_pad + rgb_to_grayscale + rgb_to_hsv + rgb_to_yiq + rgb_to_yuv + rot90 + sample_distorted_bounding_box + sobel_edges + ssim + ssim_multiscale + total_variation + transpose + yiq_to_rgb + yuv_to_rgb * tf.initializers + Overview * tf.io + Overview + decode_and_crop_jpeg + decode_base64 + decode_bmp + decode_compressed + decode_csv + decode_gif + decode_image + decode_jpeg + decode_json_example + decode_png + decode_proto + decode_raw + deserialize_many_sparse + encode_base64 + encode_jpeg + encode_proto + extract_jpeg_shape + FixedLenFeature + FixedLenSequenceFeature + is_jpeg + matching_files + match_filenames_once + parse_example + parse_sequence_example + parse_single_example + parse_single_sequence_example + parse_tensor + read_file + serialize_many_sparse + serialize_sparse + serialize_tensor + SparseFeature + TFRecordOptions + TFRecordWriter + VarLenFeature + write_file + write_graph + gfile o Overview o copy o exists o GFile o glob o isdir o listdir o makedirs o mkdir o remove o rename o rmtree o stat o walk * tf.keras + Overview + Input + Model + Sequential + activations o Overview o deserialize o elu o exponential o get o hard_sigmoid o linear o relu o selu o serialize o sigmoid o softmax o softplus o softsign o tanh + applications o Overview o DenseNet121 o DenseNet169 o DenseNet201 o InceptionResNetV2 o InceptionV3 o MobileNet o MobileNetV2 o NASNetLarge o NASNetMobile o ResNet101 o ResNet101V2 o ResNet152 o ResNet152V2 o ResNet50 o ResNet50V2 o VGG16 o VGG19 o Xception o densenet # Overview # decode_predictions # preprocess_input o imagenet_utils # Overview # decode_predictions # preprocess_input o inception_resnet_v2 # Overview # decode_predictions # preprocess_input o inception_v3 # Overview # decode_predictions # preprocess_input o mobilenet # Overview # decode_predictions # preprocess_input o mobilenet_v2 # Overview # decode_predictions # preprocess_input o nasnet # Overview # decode_predictions # preprocess_input o resnet # Overview # decode_predictions # preprocess_input o resnet50 # Overview o resnet_v2 # Overview # decode_predictions # preprocess_input o vgg16 # Overview # decode_predictions # preprocess_input o vgg19 # Overview # decode_predictions # preprocess_input o xception # Overview # decode_predictions # preprocess_input + backend o Overview o abs o all o any o arange o argmax o argmin o backend o batch_dot o batch_flatten o batch_get_value o batch_normalization o batch_set_value o bias_add o binary_crossentropy o cast o cast_to_floatx o categorical_crossentropy o clear_session o clip o concatenate o constant o conv1d o conv2d o conv2d_transpose o conv3d o cos o count_params o ctc_batch_cost o ctc_decode o ctc_label_dense_to_sparse o cumprod o cumsum o dot o dropout o dtype o elu o epsilon o equal o eval o exp o expand_dims o eye o flatten o floatx o foldl o foldr o function o gather o get_uid o get_value o gradients o greater o greater_equal o hard_sigmoid o image_data_format o int_shape o in_test_phase o in_top_k o in_train_phase o is_keras_tensor o is_sparse o l2_normalize o learning_phase o learning_phase_scope o less o less_equal o local_conv1d o local_conv2d o log o manual_variable_initialization o map_fn o max o maximum o mean o min o minimum o moving_average_update o name_scope o ndim o normalize_batch_in_training o not_equal o ones o ones_like o one_hot o permute_dimensions o placeholder o pool2d o pool3d o pow o print_tensor o prod o random_binomial o random_normal o random_normal_variable o random_uniform o random_uniform_variable o relu o repeat o repeat_elements o reset_uids o reshape o resize_images o resize_volumes o reverse o rnn o round o separable_conv2d o set_epsilon o set_floatx o set_image_data_format o set_learning_phase o set_value o shape o sigmoid o sign o sin o softmax o softplus o softsign o sparse_categorical_crossentropy o spatial_2d_padding o spatial_3d_padding o sqrt o square o squeeze o stack o std o stop_gradient o sum o switch o tanh o temporal_padding o tile o to_dense o transpose o truncated_normal o update o update_add o update_sub o var o variable o zeros o zeros_like + callbacks o Overview o BaseLogger o Callback o CSVLogger o EarlyStopping o History o LambdaCallback o LearningRateScheduler o ModelCheckpoint o ProgbarLogger o ReduceLROnPlateau o RemoteMonitor o TensorBoard o TerminateOnNaN + constraints o Overview o Constraint o deserialize o get o MaxNorm o MinMaxNorm o NonNeg o RadialConstraint o serialize o UnitNorm + datasets o Overview o boston_housing # Overview # load_data o cifar10 # Overview # load_data o cifar100 # Overview # load_data o fashion_mnist # Overview # load_data o imdb # Overview # get_word_index # load_data o mnist # Overview # load_data o reuters # Overview # get_word_index # load_data + estimator o Overview o model_to_estimator + experimental o Overview o CosineDecay o CosineDecayRestarts o export_saved_model o LinearCosineDecay o LinearModel o load_from_saved_model o NoisyLinearCosineDecay o PeepholeLSTMCell o SequenceFeatures o terminate_keras_multiprocessing_pools o WideDeepModel + initializers o Overview o deserialize o get o GlorotNormal o GlorotUniform o he_normal o he_uniform o Identity o Initializer o lecun_normal o lecun_uniform o Orthogonal o serialize o TruncatedNormal o VarianceScaling + layers o Overview o AbstractRNNCell o Activation o ActivityRegularization o Add o add o AdditiveAttention o AlphaDropout o Attention o Average o average o AveragePooling1D o AveragePooling2D o AveragePooling3D o BatchNormalization o Bidirectional o Concatenate o concatenate o Conv1D o Conv2D o Conv2DTranspose o Conv3D o Conv3DTranspose o ConvLSTM2D o Cropping1D o Cropping2D o Cropping3D o Dense o DenseFeatures o DepthwiseConv2D o deserialize o Dot o dot o Dropout o ELU o Embedding o Flatten o GaussianDropout o GaussianNoise o GlobalAveragePooling1D o GlobalAveragePooling2D o GlobalAveragePooling3D o GlobalMaxPool1D o GlobalMaxPool2D o GlobalMaxPool3D o GRU o GRUCell o InputLayer o InputSpec o Lambda o Layer o LayerNormalization o LeakyReLU o LocallyConnected1D o LocallyConnected2D o LSTM o LSTMCell o Masking o Maximum o maximum o MaxPool1D o MaxPool2D o MaxPool3D o Minimum o minimum o Multiply o multiply o Permute o PReLU o ReLU o RepeatVector o Reshape o RNN o SeparableConv1D o SeparableConv2D o serialize o SimpleRNN o SimpleRNNCell o Softmax o SpatialDropout1D o SpatialDropout2D o SpatialDropout3D o StackedRNNCells o Subtract o subtract o ThresholdedReLU o TimeDistributed o UpSampling1D o UpSampling2D o UpSampling3D o Wrapper o ZeroPadding1D o ZeroPadding2D o ZeroPadding3D + losses o Overview o BinaryCrossentropy o binary_crossentropy o CategoricalCrossentropy o CategoricalHinge o categorical_crossentropy o categorical_hinge o CosineSimilarity o cosine_similarity o deserialize o get o Hinge o hinge o Huber o KLD o KLDivergence o LogCosh o logcosh o Loss o MAE o MAPE o MeanAbsoluteError o MeanAbsolutePercentageError o MeanSquaredError o MeanSquaredLogarithmicError o MSE o MSLE o Poisson o poisson o Reduction o serialize o SparseCategoricalCrossentropy o sparse_categorical_crossentropy o SquaredHinge o squared_hinge + metrics o Overview o Accuracy o AUC o BinaryAccuracy o BinaryCrossentropy o binary_accuracy o CategoricalAccuracy o CategoricalCrossentropy o CategoricalHinge o categorical_accuracy o CosineSimilarity o deserialize o FalseNegatives o FalsePositives o get o Hinge o KLDivergence o LogCoshError o Mean o MeanAbsoluteError o MeanAbsolutePercentageError o MeanIoU o MeanRelativeError o MeanSquaredError o MeanSquaredLogarithmicError o MeanTensor o Metric o Poisson o Precision o Recall o RootMeanSquaredError o SensitivityAtSpecificity o serialize o SparseCategoricalAccuracy o SparseCategoricalCrossentropy o SparseTopKCategoricalAccuracy o sparse_categorical_accuracy o sparse_top_k_categorical_accuracy o SpecificityAtSensitivity o SquaredHinge o Sum o TopKCategoricalAccuracy o top_k_categorical_accuracy o TrueNegatives o TruePositives + mixed_precision o Overview o experimental # Overview # global_policy # LossScaleOptimizer # Policy # set_policy + models o Overview o clone_model o load_model o model_from_config o model_from_json o model_from_yaml o save_model + optimizers o Overview o Adadelta o Adagrad o Adam o Adamax o deserialize o Ftrl o get o Nadam o Optimizer o RMSprop o serialize o SGD o schedules # Overview # deserialize # ExponentialDecay # InverseTimeDecay # LearningRateSchedule # PiecewiseConstantDecay # PolynomialDecay # serialize + preprocessing o Overview o image # Overview # apply_affine_transform # apply_brightness_shift # apply_channel_shift # array_to_img # DirectoryIterator # ImageDataGenerator # img_to_array # Iterator # load_img # NumpyArrayIterator # random_brightness # random_channel_shift # random_rotation # random_shear # random_shift # random_zoom # save_img o sequence # Overview # make_sampling_table # pad_sequences # skipgrams # TimeseriesGenerator o text # Overview # hashing_trick # one_hot # text_to_word_sequence # Tokenizer + regularizers o Overview o deserialize o get o l1 o L1L2 o l1_l2 o l2 o Regularizer o serialize + utils o Overview o convert_all_kernels_in_model o CustomObjectScope o custom_object_scope o deserialize_keras_object o GeneratorEnqueuer o get_custom_objects o get_file o get_source_inputs o HDF5Matrix o model_to_dot o multi_gpu_model o normalize o OrderedEnqueuer o plot_model o Progbar o Sequence o SequenceEnqueuer o serialize_keras_object o to_categorical + wrappers o Overview o scikit_learn # Overview # KerasClassifier # KerasRegressor * tf.linalg + Overview + adjoint + band_part + cholesky + cholesky_solve + cross + det + diag + diag_part + eigh + eigvalsh + expm + global_norm + inv + LinearOperator + LinearOperatorAdjoint + LinearOperatorBlockDiag + LinearOperatorCirculant + LinearOperatorCirculant2D + LinearOperatorCirculant3D + LinearOperatorComposition + LinearOperatorDiag + LinearOperatorFullMatrix + LinearOperatorHouseholder + LinearOperatorIdentity + LinearOperatorInversion + LinearOperatorKronecker + LinearOperatorLowerTriangular + LinearOperatorLowRankUpdate + LinearOperatorScaledIdentity + LinearOperatorToeplitz + LinearOperatorZeros + logdet + logm + lstsq + lu + matmul + matrix_transpose + matvec + normalize + qr + set_diag + slogdet + solve + sqrtm + svd + tensor_diag + tensor_diag_part + trace + triangular_solve + tridiagonal_matmul + tridiagonal_solve * tf.lite + Overview + Interpreter + OpsSet + Optimize + RepresentativeDataset + TargetSpec + TFLiteConverter + experimental o Overview o load_delegate * tf.lookup + Overview + KeyValueTensorInitializer + StaticHashTable + StaticVocabularyTable + TextFileIndex + TextFileInitializer + experimental o Overview o DenseHashTable * tf.losses + Overview * tf.math + Overview + abs + accumulate_n + acos + acosh + add + add_n + angle + argmax + argmin + asin + asinh + atan + atan2 + atanh + bessel_i0 + bessel_i0e + bessel_i1 + bessel_i1e + betainc + bincount + ceil + confusion_matrix + conj + cos + cosh + count_nonzero + cumprod + cumsum + cumulative_logsumexp + digamma + divide + divide_no_nan + equal + erf + erfc + exp + expm1 + floor + floordiv + floormod + greater + greater_equal + igamma + igammac + imag + invert_permutation + in_top_k + is_finite + is_inf + is_nan + is_non_decreasing + is_strictly_increasing + l2_normalize + lbeta + less + less_equal + lgamma + log + log1p + logical_and + logical_not + logical_or + logical_xor + log_sigmoid + maximum + minimum + multiply + multiply_no_nan + negative + nextafter + not_equal + polygamma + polyval + pow + real + reciprocal + reciprocal_no_nan + reduce_any + reduce_euclidean_norm + reduce_logsumexp + reduce_max + reduce_mean + reduce_min + reduce_prod + reduce_std + reduce_sum + reduce_variance + rint + round + rsqrt + scalar_mul + segment_max + segment_mean + segment_min + segment_prod + segment_sum + sigmoid + sign + sin + sinh + softplus + sqrt + square + squared_difference + subtract + tan + tanh + top_k + truediv + unsorted_segment_max + unsorted_segment_mean + unsorted_segment_min + unsorted_segment_prod + unsorted_segment_sqrt_n + unsorted_segment_sum + xdivy + xlogy + zero_fraction + zeta * tf.metrics + Overview * tf.nest + Overview + assert_same_structure + flatten + is_nested + map_structure + pack_sequence_as * tf.nn + Overview + atrous_conv2d + atrous_conv2d_transpose + avg_pool + avg_pool1d + avg_pool2d + avg_pool3d + batch_normalization + batch_norm_with_global_normalization + bias_add + collapse_repeated + compute_accidental_hits + compute_average_loss + conv1d + conv1d_transpose + conv2d + conv2d_transpose + conv3d + conv3d_transpose + convolution + conv_transpose + crelu + ctc_beam_search_decoder + ctc_greedy_decoder + ctc_loss + ctc_unique_labels + depthwise_conv2d + depthwise_conv2d_backprop_filter + depthwise_conv2d_backprop_input + depth_to_space + dilation2d + dropout + elu + embedding_lookup + embedding_lookup_sparse + erosion2d + fractional_avg_pool + fractional_max_pool + l2_loss + leaky_relu + local_response_normalization + log_poisson_loss + log_softmax + max_pool + max_pool1d + max_pool2d + max_pool3d + max_pool_with_argmax + moments + nce_loss + normalize_moments + pool + relu + relu6 + RNNCellDeviceWrapper + RNNCellDropoutWrapper + RNNCellResidualWrapper + safe_embedding_lookup_sparse + sampled_softmax_loss + scale_regularization_loss + selu + separable_conv2d + sigmoid_cross_entropy_with_logits + softmax + softmax_cross_entropy_with_logits + softsign + space_to_depth + sparse_softmax_cross_entropy_with_logits + sufficient_statistics + weighted_cross_entropy_with_logits + weighted_moments + with_space_to_batch * tf.optimizers + Overview + schedules o Overview * tf.quantization + Overview + dequantize + fake_quant_with_min_max_args + fake_quant_with_min_max_args_gradient + fake_quant_with_min_max_vars + fake_quant_with_min_max_vars_gradient + fake_quant_with_min_max_vars_per_channel + fake_quant_with_min_max_vars_per_channel_gradient + quantize + quantized_concat + quantize_and_dequantize * tf.queue + Overview + FIFOQueue + PaddingFIFOQueue + PriorityQueue + QueueBase + RandomShuffleQueue * tf.ragged + Overview + boolean_mask + constant + map_flat_values + range + row_splits_to_segment_ids + segment_ids_to_row_splits + stack + stack_dynamic_partitions * tf.random + Overview + all_candidate_sampler + categorical + fixed_unigram_candidate_sampler + gamma + learned_unigram_candidate_sampler + log_uniform_candidate_sampler + normal + poisson + set_seed + shuffle + stateless_categorical + stateless_normal + stateless_truncated_normal + stateless_uniform + truncated_normal + uniform + uniform_candidate_sampler + experimental o Overview o create_rng_state o Generator o get_global_generator o set_global_generator * tf.raw_ops + Overview * tf.saved_model + Overview + Asset + contains_saved_model + load + save + SaveOptions * tf.sets + Overview + difference + intersection + size + union * tf.signal + Overview + dct + fft + fft2d + fft3d + fftshift + frame + hamming_window + hann_window + idct + ifft + ifft2d + ifft3d + ifftshift + inverse_stft + inverse_stft_window_fn + irfft + irfft2d + irfft3d + linear_to_mel_weight_matrix + mfccs_from_log_mel_spectrograms + overlap_and_add + rfft + rfft2d + rfft3d + stft * tf.sparse + Overview + add + concat + cross + cross_hashed + expand_dims + eye + fill_empty_rows + from_dense + mask + maximum + minimum + reduce_max + reduce_sum + reorder + reset_shape + reshape + retain + segment_mean + segment_sqrt_n + segment_sum + slice + softmax + SparseTensor + sparse_dense_matmul + split + to_dense + to_indicator + transpose * tf.strings + Overview + as_string + bytes_split + format + join + length + lower + ngrams + reduce_join + regex_full_match + regex_replace + split + strip + substr + to_hash_bucket + to_hash_bucket_fast + to_hash_bucket_strong + to_number + unicode_decode + unicode_decode_with_offsets + unicode_encode + unicode_script + unicode_split + unicode_split_with_offsets + unicode_transcode + unsorted_segment_join + upper * tf.summary + Overview + audio + create_file_writer + create_noop_writer + flush + histogram + image + record_if + scalar + SummaryWriter + text + trace_export + trace_off + trace_on + write + experimental o Overview o get_step o set_step o summary_scope o write_raw_pb * tf.sysconfig + Overview + get_compile_flags + get_include + get_lib + get_link_flags * tf.test + Overview + assert_equal_graph_def + Benchmark + benchmark_config + compute_gradient + create_local_cluster + gpu_device_name + is_built_with_cuda + is_built_with_gpu_support + is_built_with_rocm + is_gpu_available + main + TestCase + TestCase.failureException * tf.tpu + Overview + experimental o Overview o DeviceAssignment o initialize_tpu_system * tf.train + Overview + BytesList + Checkpoint + CheckpointManager + checkpoints_iterator + ClusterDef + ClusterSpec + Coordinator + Example + ExponentialMovingAverage + Feature + FeatureList + FeatureLists + FeatureLists.FeatureListEntry + Features + Features.FeatureEntry + FloatList + get_checkpoint_state + Int64List + JobDef + JobDef.TasksEntry + latest_checkpoint + list_variables + load_checkpoint + load_variable + SequenceExample + ServerDef + experimental o Overview o disable_mixed_precision_graph_rewrite o DynamicLossScale o enable_mixed_precision_graph_rewrite o FixedLossScale o LossScale o PythonState * tf.version + Overview * tf.xla + Overview + experimental o Overview o compile o jit_scope * Introduction * TensorFlow * For JavaScript * For Mobile & IoT * For Production * Swift for TensorFlow (in beta) * API * r2.0 (stable) * r2.1 (rc) * API r1 * r1.15 * More… * Models & datasets * Tools * Libraries & extensions * Learn ML * About * Case studies * Trusted Partner Program * TensorFlow * API * TensorFlow Core r2.0 * Python tf.identity (stable) See Stable (nightly) See Nightly [tf_logo_32px.png] TensorFlow 1 version [GitHub-Mark-32px.png] View source on GitHub Return a tensor with the same shape and contents as input. tf.identity( input, name=None ) Used in the guide: * Eager execution For example: import tensorflow as tf val0 = tf.ones((1,), dtype=tf.float32) a = tf.atan2(val0, val0) a_identity = tf.identity(a) print(a.numpy()) #[0.7853982] print(a_identity.numpy()) #[0.7853982] Args: * input: A Tensor. * name: A name for the operation (optional). Returns: A Tensor. Has the same type as input. Compat aliases * tf.compat.v1.identity * tf.compat.v2.identity Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. * Stay connected + Blog + GitHub + Twitter + YouTube * Support + Issue tracker + Release notes + Stack Overflow + Brand guidelines * Terms * Privacy * Sign up for the TensorFlow monthly newsletter Subscribe [Language_________]