tf.keras.losses.Huber | TensorFlow v2.10.0
文章推薦指數: 80 %
tf.keras.losses.Huber ; delta, A float, the point where the Huber loss function changes from a quadratic to linear. ; reduction, Type of tf.keras.losses.Reduction ... Install Learn Introduction NewtoTensorFlow? TensorFlow ThecoreopensourceMLlibrary ForJavaScript TensorFlow.jsforMLusingJavaScript ForMobile&Edge TensorFlowLiteformobileandedgedevices ForProduction TensorFlowExtendedforend-to-endMLcomponents API TensorFlow(v2.10.0) Versions… TensorFlow.js TensorFlowLite TFX Resources Models&datasets Pre-trainedmodelsanddatasetsbuiltbyGoogleandthecommunity Tools EcosystemoftoolstohelpyouuseTensorFlow Libraries&extensions LibrariesandextensionsbuiltonTensorFlow TensorFlowCertificateprogram DifferentiateyourselfbydemonstratingyourMLproficiency LearnML EducationalresourcestolearnthefundamentalsofMLwithTensorFlow ResponsibleAI ResourcesandtoolstointegrateResponsibleAIpracticesintoyourMLworkflow Community Join Explorewaystogetinvolved Blog StayuptodatewithallthingsTensorFlow Forum↗ DiscussionplatformfortheTensorFlowcommunity Groups Usergroups,interestgroupsandmailinglists Contribute Guideforcontributingtocodeanddocumentation WhyTensorFlow About Casestudies English 中文–简体 GitHub Signin TensorFlowv2.10.0 Overview Python C++ Java More Install Learn More API More Overview Python C++ Java More Resources More Community More WhyTensorFlow More GitHub Overview AllSymbols Pythonv2.10.0 tf OverviewAggregationMethodCriticalSectionDeviceSpecGradientTapeGraphIndexedSlicesIndexedSlicesSpecModuleOperationOptionalSpecRaggedTensorRaggedTensorSpecRegisterGradientSparseTensorSpecTensorTensorArrayTensorArraySpecTensorShapeTensorSpecTypeSpecUnconnectedGradientsVariableVariable.SaveSliceInfoVariableAggregationVariableSynchronizationapprox_top_kargsortbatch_to_spacebitcastboolean_maskbroadcast_dynamic_shapebroadcast_static_shapebroadcast_tocasecastclip_by_global_normclip_by_normclip_by_valueconcatcondconstantconstant_initializercontrol_dependenciesconvert_to_tensorcustom_gradientdevicedynamic_partitiondynamic_stitchedit_distanceeinsumensure_shapeexecuting_eagerlyexpand_dimsextract_volume_patcheseyefillfingerprintfoldlfoldrfunctiongathergather_ndget_current_name_scopeget_loggerget_static_valuegrad_pass_throughgradientsgroupguarantee_consthessianshistogram_fixed_widthhistogram_fixed_width_binsidentityidentity_ninit_scopeinside_functionis_tensorlinspaceload_libraryload_op_librarymake_ndarraymake_tensor_protomap_fnmeshgridname_scopeno_gradientno_opnondifferentiable_batch_functionnormnumpy_functionone_hotonesones_initializerones_likepadparallel_stackprintpy_functionrandom_index_shufflerandom_normal_initializerrandom_uniform_initializerrangerankrealdivrecompute_gradregister_tensor_conversion_functionrepeatrequired_space_to_batch_paddingsreshapereversereverse_sequencerollscanscatter_ndsearchsortedsequence_maskshapeshape_nsizeslicesortspace_to_batchspace_to_batch_ndsplitsqueezestackstop_gradientstrided_sliceswitch_casetensor_scatter_nd_addtensor_scatter_nd_maxtensor_scatter_nd_mintensor_scatter_nd_subtensor_scatter_nd_updatetensordottiletimestamptransposetruncatedivtruncatemodtupletype_spec_from_valueuniqueunique_with_countsunravel_indexunstackvariable_creator_scopevectorized_mapwherewhile_loopzeroszeros_initializerzeros_like tf.audio Overviewdecode_wavencode_wav tf.autodiff OverviewForwardAccumulator tf.autograph Overviewset_verbosityto_codeto_graphtrace experimental OverviewFeaturedo_not_convertset_loop_options tf.bitwise Overviewbitwise_andbitwise_orbitwise_xorinvertleft_shiftright_shift tf.compat Overviewas_bytesas_stras_str_anyas_textdimension_at_indexdimension_valueforward_compatibility_horizonforward_compatiblepath_to_str v1 OverviewAttrValueAttrValue.ListValueConditionalAccumulatorConditionalAccumulatorBaseConfigProtoConfigProto.DeviceCountEntryConfigProto.ExperimentalDeviceSpecDimensionEventFixedLengthRecordReaderGPUOptionsGPUOptions.ExperimentalGPUOptions.Experimental.VirtualDevicesGraphDefGraphKeysGraphOptionsHistogramProtoIdentityReaderInteractiveSessionLMDBReaderLogMessageMetaGraphDefMetaGraphDef.CollectionDefEntryMetaGraphDef.MetaInfoDefMetaGraphDef.MetaInfoDef.FunctionAliasesEntryMetaGraphDef.SignatureDefEntryNameAttrListNameAttrList.AttrEntryNodeDefNodeDef.AttrEntryNodeDef.ExperimentalDebugInfoOptimizerOptionsPrintReaderBaseRunMetadataRunMetadata.FunctionGraphsRunOptionsRunOptions.ExperimentalRunOptions.Experimental.RunHandlerPoolOptionsSessionSessionLogSparseConditionalAccumulatorSparseTensorValueSummarySummary.AudioSummary.ImageSummary.ValueSummaryMetadataSummaryMetadata.PluginDataTFRecordReaderTensorInfoTensorInfo.CompositeTensorTensorInfo.CooSparseTextLineReaderVariableVariableAggregationVariableScopeWholeFileReaderadd_check_numerics_opsadd_to_collectionadd_to_collectionsall_variablesarg_maxarg_minargmaxargminassert_equalassert_greaterassert_greater_equalassert_integerassert_lessassert_less_equalassert_nearassert_negativeassert_non_negativeassert_non_positiveassert_none_equalassert_positiveassert_rankassert_rank_at_leastassert_rank_inassert_scalarassert_typeassert_variables_initializedassignassign_addassign_subbatch_gatherbatch_scatter_updatebatch_to_spacebatch_to_space_ndbincountboolean_maskcaseclip_by_average_normcolocate_withcondconfusion_matrixconstantcontainercontrol_flow_v2_enabledconvert_to_tensorconvert_to_tensor_or_indexed_slicesconvert_to_tensor_or_sparse_tensorcount_nonzerocount_up_tocreate_partitioned_variablesdecode_csvdecode_rawdelete_session_tensordepth_to_spacedevicedisable_control_flow_v2disable_eager_executiondisable_resource_variablesdisable_tensor_equalitydisable_v2_behaviordisable_v2_tensorshapedivenable_control_flow_v2enable_eager_executionenable_resource_variablesenable_tensor_equalityenable_v2_behaviorenable_v2_tensorshapeexecuting_eagerlyexecuting_eagerly_outside_functionsexpand_dimsextract_image_patchesfixed_size_partitionerfloor_divfoldlfoldrgathergather_ndget_collectionget_collection_refget_default_graphget_default_sessionget_local_variableget_seedget_session_handleget_session_tensorget_variableget_variable_scopeglobal_variablesglobal_variables_initializergradientshessiansinitialize_all_tablesinitialize_all_variablesinitialize_local_variablesinitialize_variablesis_variable_initializedload_file_system_librarylocal_variableslocal_variables_initializermake_templatemap_fnmin_max_variable_partitionermodel_variablesmoving_average_variablesmultinomialno_regularizernormones_likeop_scopepadparse_exampleparse_single_exampleplaceholderplaceholder_with_defaultpy_funcquantize_v2random_normal_initializerrandom_poissonrandom_uniform_initializerreduce_allreduce_anyreduce_joinreduce_logsumexpreduce_maxreduce_meanreduce_minreduce_prodreduce_sumreport_uninitialized_variablesreset_default_graphresource_variables_enabledreverse_sequencescalar_mulscanscatter_addscatter_divscatter_maxscatter_minscatter_mulscatter_nd_addscatter_nd_subscatter_nd_updatescatter_subscatter_updateserialize_many_sparseserialize_sparseset_random_seedsetdiff1dshapesizespace_to_batchspace_to_depthsparse_addsparse_concatsparse_matmulsparse_mergesparse_placeholdersparse_reduce_maxsparse_reduce_max_sparsesparse_reduce_sumsparse_reduce_sum_sparsesparse_segment_meansparse_segment_sqrt_nsparse_segment_sumsparse_splitsparse_to_densesqueezestring_splitstring_to_hash_bucketstring_to_numbersubstrtables_initializerto_bfloat16to_complex128to_complex64to_doubleto_floatto_int32to_int64trainable_variablestransposetruncated_normal_initializertupleuniform_unit_scaling_initializervariable_axis_size_partitionervariable_creator_scopevariable_op_scopevariable_scopevariables_initializerverify_tensor_all_finitewherewhile_loopwrap_functionzeros_like app Overviewrun audio Overview autograph Overviewto_codeto_graph experimental Overview bitwise Overview compat Overview config Overview experimental Overview optimizer Overview threading Overview data OverviewDatasetFixedLengthRecordDatasetIteratorTFRecordDatasetTextLineDatasetget_output_classesget_output_shapesget_output_typesmake_initializable_iteratormake_one_shot_iterator experimental OverviewCounterCsvDatasetRaggedTensorStructureRandomDatasetSparseTensorStructureSqlDatasetTensorArrayStructureTensorStructurechoose_from_datasetsmake_batched_features_datasetmake_csv_datasetmap_and_batch_with_legacy_functionsample_from_datasets service Overview debugging Overviewassert_shapes experimental Overview distribute OverviewMirroredStrategyOneDeviceStrategyReplicaContextStrategyStrategyExtendedget_loss_reduction cluster_resolver Overview experimental OverviewCentralStorageStrategyMultiWorkerMirroredStrategyParameterServerStrategyTPUStrategy distributions OverviewBernoulliBetaCategoricalDirichletDirichletMultinomialDistributionExponentialGammaLaplaceMultinomialNormalRegisterKLReparameterizationTypeStudentTUniformkl_divergence dtypes Overview errors Overviewerror_code_from_exception_typeexception_type_from_error_coderaise_exception_on_not_ok_status estimator OverviewBaselineClassifierBaselineEstimatorBaselineRegressorDNNClassifierDNNEstimatorDNNLinearCombinedClassifierDNNLinearCombinedEstimatorDNNLinearCombinedRegressorDNNRegressorEstimatorLinearClassifierLinearEstimatorLinearRegressorclassifier_parse_example_specregressor_parse_example_spec experimental OverviewKMeansdnn_logit_fn_builderlinear_logit_fn_builder export Overview inputs Overviewnumpy_input_fnpandas_input_fn tpu OverviewInputPipelineConfigRunConfigTPUConfigTPUEstimatorTPUEstimatorSpec experimental OverviewEmbeddingConfigSpec experimental Overviewoutput_all_intermediates feature_column Overviewcategorical_column_with_vocabulary_fileinput_layerlinear_modelmake_parse_example_specshared_embedding_columns flags OverviewArgumentParserArgumentSerializerBaseListParserBooleanFlagBooleanParserCantOpenFlagFileErrorCsvListSerializerDEFINEDEFINE_aliasDEFINE_boolDEFINE_enumDEFINE_enum_classDEFINE_flagDEFINE_floatDEFINE_integerDEFINE_listDEFINE_multiDEFINE_multi_enumDEFINE_multi_enum_classDEFINE_multi_floatDEFINE_multi_integerDEFINE_multi_stringDEFINE_spaceseplistDEFINE_stringDuplicateFlagErrorEnumClassFlagEnumClassListSerializerEnumClassParserEnumClassSerializerEnumFlagEnumParserErrorFLAGSFlagFlagHolderFlagNameConflictsWithMethodErrorFlagValuesFloatParserIllegalFlagValueErrorIntegerParserListParserListSerializerMultiEnumClassFlagMultiFlagUnparsedFlagAccessErrorUnrecognizedFlagErrorValidationErrorWhitespaceSeparatedListParseradopt_module_key_flagsdeclare_key_flagdisclaim_key_flagsdoc_to_helpflag_dict_to_argsget_help_widthmark_bool_flags_as_mutual_exclusivemark_flag_as_requiredmark_flags_as_mutual_exclusivemark_flags_as_requiredmulti_flags_validatorregister_multi_flags_validatorregister_validatorset_defaulttext_wrapvalidator gfile OverviewCopyDeleteRecursivelyExistsFastGFileGlobIsDirectoryListDirectoryMakeDirsMkDirRemoveRenameStatWalk graph_util Overviewconvert_variables_to_constantsextract_sub_graphmust_run_on_cpuremove_training_nodestensor_shape_from_node_def_name image OverviewResizeMethodcrop_and_resizedraw_bounding_boxesextract_glimpseresizeresize_arearesize_bicubicresize_bilinearresize_image_with_padresize_nearest_neighborsample_distorted_bounding_box initializers Overviewhe_normalhe_uniformlecun_normallecun_uniform io OverviewTFRecordCompressionTypetf_record_iterator gfile Overview keras Overview activations Overview applications Overview convnext Overview densenet Overview efficientnet Overview efficientnet_v2 Overview imagenet_utils Overview inception_resnet_v2 Overview inception_v3 Overview mobilenet Overview mobilenet_v2 Overview mobilenet_v3 Overview nasnet Overview regnet Overview resnet Overview resnet50 Overview resnet_rs Overview resnet_v2 Overview vgg16 Overview vgg19 Overview xception Overview backend Overviewget_sessionname_scopeset_session callbacks OverviewTensorBoard constraints Overview datasets Overview boston_housing Overview cifar10 Overview cifar100 Overview fashion_mnist Overview imdb Overview mnist Overview reuters Overview estimator Overviewmodel_to_estimator experimental Overviewexport_saved_modelload_from_saved_model initializers OverviewConstantIdentityOnesOrthogonalRandomNormalRandomUniformTruncatedNormalVarianceScalingZerosglorot_normalglorot_uniformhe_normalhe_uniformlecun_normallecun_uniform layers OverviewBatchNormalizationCuDNNGRUCuDNNLSTMDenseFeaturesGRUGRUCellLSTMLSTMCelldisable_v2_dtype_behaviorenable_v2_dtype_behavior experimental Overview preprocessing Overview losses Overview metrics Overview mixed_precision Overview models Overview optimizers Overview legacy Overview schedules Overview preprocessing Overview image Overview sequence Overview text Overview regularizers Overview utils OverviewDeterministicRandomTestToolget_or_create_layertrack_tf1_style_variables wrappers Overview scikit_learn Overview layers OverviewAveragePooling1DAveragePooling2DAveragePooling3DBatchNormalizationConv1DConv2DConv2DTransposeConv3DConv3DTransposeDenseDropoutFlattenLayerMaxPooling1DMaxPooling2DMaxPooling3DSeparableConv1DSeparableConv2Daverage_pooling1daverage_pooling2daverage_pooling3dbatch_normalizationconv1dconv2dconv2d_transposeconv3dconv3d_transposedensedropoutflattenmax_pooling1dmax_pooling2dmax_pooling3dseparable_conv1dseparable_conv2d experimental Overviewkeras_style_scopeset_keras_style linalg Overview experimental Overview lite OverviewOpHintOpHint.OpHintArgumentTrackerTFLiteConverterTocoConvertertoco_convert constants Overview experimental Overviewconvert_op_hints_to_stubs authoring Overview logging OverviewTaskLevelStatusMessagedebugerrorfatalflushget_verbosityinfologlog_every_nlog_first_nlog_ifset_verbosityvlogwarnwarning lookup OverviewStaticHashTableStaticVocabularyTable experimental Overview losses OverviewReductionabsolute_differenceadd_losscompute_weighted_losscosine_distanceget_lossesget_regularization_lossget_regularization_lossesget_total_losshinge_losshuber_losslog_lossmean_pairwise_squared_errormean_squared_errorsigmoid_cross_entropysoftmax_cross_entropysparse_softmax_cross_entropy manip Overview math Overviewin_top_klog_softmaxsoftmax special Overview metrics Overviewaccuracyaucaverage_precision_at_kfalse_negativesfalse_negatives_at_thresholdsfalse_positivesfalse_positives_at_thresholdsmeanmean_absolute_errormean_cosine_distancemean_ioumean_per_class_accuracymean_relative_errormean_squared_errormean_tensorpercentage_belowprecisionprecision_at_kprecision_at_thresholdsprecision_at_top_krecallrecall_at_krecall_at_thresholdsrecall_at_top_kroot_mean_squared_errorsensitivity_at_specificitysparse_average_precision_at_ksparse_precision_at_kspecificity_at_sensitivitytrue_negativestrue_negatives_at_thresholdstrue_positivestrue_positives_at_thresholds mixed_precision OverviewDynamicLossScaleFixedLossScaleLossScaleMixedPrecisionLossScaleOptimizerdisable_mixed_precision_graph_rewriteenable_mixed_precision_graph_rewrite experimental Overview mlir Overview experimental Overview nest Overview nn Overviewavg_poolbatch_norm_with_global_normalizationbidirectional_dynamic_rnnconv1dconv2dconv2d_backprop_filterconv2d_backprop_inputconv2d_transposeconv3dconv3d_backprop_filterconv3d_transposeconvolutioncreluctc_beam_search_decoderctc_lossctc_loss_v2depthwise_conv2ddepthwise_conv2d_nativedilation2ddropoutdynamic_rnnembedding_lookupembedding_lookup_sparseerosion2dfractional_avg_poolfractional_max_poolfused_batch_normmax_poolmax_pool_with_argmaxmomentsnce_losspoolquantized_avg_poolquantized_conv2dquantized_max_poolquantized_relu_xraw_rnnrelu_layersafe_embedding_lookup_sparsesampled_softmax_lossseparable_conv2dsigmoid_cross_entropy_with_logitssoftmax_cross_entropy_with_logitssoftmax_cross_entropy_with_logits_v2sparse_softmax_cross_entropy_with_logitsstatic_bidirectional_rnnstatic_rnnstatic_state_saving_rnnsufficient_statisticsweighted_cross_entropy_with_logitsweighted_momentsxw_plus_b experimental Overview rnn_cell OverviewBasicLSTMCellBasicRNNCellDeviceWrapperDropoutWrapperGRUCellLSTMCellLSTMStateTupleMultiRNNCellRNNCellResidualWrapper profiler OverviewAdviceProtoAdviceProto.CheckerAdviceProto.CheckersEntryGraphNodeProtoGraphNodeProto.InputShapesEntryMultiGraphNodeProtoOpLogProtoOpLogProto.IdToStringEntryProfileOptionBuilderProfileradviseprofilewrite_op_log python_io Overview quantization Overview queue Overview ragged OverviewRaggedTensorValueconstant_valueplaceholder random Overviewstateless_multinomial experimental Overview raw_ops Overview resource_loader Overviewget_data_files_pathget_path_to_datafileget_root_dir_with_all_resourcesload_resourcereadahead_file_path saved_model OverviewBuilderbuild_signature_defbuild_tensor_infoclassification_signature_defcontains_saved_modelget_tensor_from_tensor_infois_valid_signatureloadmain_op_with_restorepredict_signature_defregression_signature_defsimple_save builder Overview constants Overview experimental Overview loader Overview main_op Overviewmain_op signature_constants Overview signature_def_utils OverviewMethodNameUpdater tag_constants Overview utils Overview sets Overview signal Overview sparse Overview spectral Overview strings Overviewlengthsplitsubstr summary OverviewFileWriterFileWriterCacheSummaryDescriptionTaggedRunMetadataall_v2_summary_opsaudioget_summary_descriptionhistogramimageinitializemergemerge_allscalartensor_summarytext sysconfig Overview test OverviewStubOutForTestingassert_equal_graph_defcompute_gradientcompute_gradient_errorget_temp_dirtest_src_dir_path tpu OverviewCrossShardOptimizerPaddingSpecbatch_parallelbfloat16_scopecorecross_replica_suminitialize_systemoutside_compilationreplicaterewriteshardshutdown_system experimental OverviewAdagradParametersAdamParametersFtrlParametersStochasticGradientDescentParametersembedding_columnshared_embedding_columns embedding Overview train OverviewAdadeltaOptimizerAdagradDAOptimizerAdagradOptimizerAdamOptimizerCheckpointChiefSessionCreatorFtrlOptimizerGradientDescentOptimizerLooperThreadMomentumOptimizerMonitoredSessionMonitoredSession.StepContextMonitoredTrainingSessionNewCheckpointReaderOptimizerProximalAdagradOptimizerProximalGradientDescentOptimizerQueueRunnerRMSPropOptimizerSaverSaverDefScaffoldSessionCreatorSessionManagerSingularMonitoredSessionSupervisorSyncReplicasOptimizerWorkerSessionCreatoradd_queue_runnerassert_global_stepbasic_train_loopbatchbatch_joincheckpoint_existscosine_decaycosine_decay_restartscreate_global_stepdo_quantize_training_on_graphdefexponential_decayexport_meta_graphgenerate_checkpoint_state_protoget_checkpoint_mtimesget_global_stepget_or_create_global_stepglobal_stepimport_meta_graphinit_from_checkpointinput_producerinverse_time_decaylimit_epochslinear_cosine_decaymaybe_batchmaybe_batch_joinmaybe_shuffle_batchmaybe_shuffle_batch_joinnatural_exp_decaynoisy_linear_cosine_decaypiecewise_constantpolynomial_decayrange_input_producerremove_checkpointreplica_device_settersdca_fprintsdca_optimizersdca_shrink_l1shuffle_batchshuffle_batch_joinslice_input_producerstart_queue_runnersstring_input_producersummary_iteratorupdate_checkpoint_statewarm_start experimental Overview queue_runner Overview types Overview experimental Overview user_ops Overviewmy_fact version Overview xla Overview experimental Overview tf.config OverviewLogicalDeviceLogicalDeviceConfigurationPhysicalDeviceexperimental_connect_to_clusterexperimental_connect_to_hostexperimental_functions_run_eagerlyexperimental_run_functions_eagerlyfunctions_run_eagerlyget_logical_device_configurationget_soft_device_placementget_visible_deviceslist_logical_deviceslist_physical_devicesrun_functions_eagerlyset_logical_device_configurationset_soft_device_placementset_visible_devices experimental OverviewClusterDeviceFiltersdisable_mlir_bridgedisable_mlir_graph_optimizationenable_mlir_bridgeenable_mlir_graph_optimizationenable_op_determinismenable_tensor_float_32_executionget_device_detailsget_device_policyget_memory_growthget_memory_infoget_memory_usageget_synchronous_executionreset_memory_statsset_device_policyset_memory_growthset_synchronous_executiontensor_float_32_execution_enabled optimizer Overviewget_experimental_optionsget_jitset_experimental_optionsset_jit threading Overviewget_inter_op_parallelism_threadsget_intra_op_parallelism_threadsset_inter_op_parallelism_threadsset_intra_op_parallelism_threads tf.data OverviewDatasetDatasetSpecFixedLengthRecordDatasetIteratorIteratorSpecOptionsTFRecordDatasetTextLineDatasetThreadingOptions experimental OverviewAutoShardPolicyAutotuneAlgorithmAutotuneOptionsCheckpointInputPipelineHookCounterCsvDatasetDatasetInitializerDistributeOptionsExternalStatePolicyOptimizationOptionsRandomDatasetReducerSqlDatasetTFRecordWriterassert_cardinalitybucket_by_sequence_lengthcardinalitychoose_from_datasetscopy_to_devicedense_to_ragged_batchdense_to_sparse_batchenable_debug_modeenumerate_datasetfrom_listfrom_variantget_next_as_optionalget_single_elementget_structuregroup_by_reducergroup_by_windowignore_errorsindex_table_from_datasetloadmake_batched_features_datasetmake_csv_datasetmake_saveable_from_iteratormap_and_batchparallel_interleaveparse_example_datasetprefetch_to_devicerejection_resamplesample_from_datasetssavescanshuffle_and_repeatsnapshottable_from_datasettake_whileto_variantunbatchunique service OverviewCrossTrainerCacheDispatchServerDispatcherConfigShardingPolicyWorkerConfigWorkerServerdistributefrom_dataset_idregister_dataset tf.debugging OverviewAssertassert_all_finiteassert_equalassert_greaterassert_greater_equalassert_integerassert_lessassert_less_equalassert_nearassert_negativeassert_non_negativeassert_non_positiveassert_none_equalassert_positiveassert_proper_iterableassert_rankassert_rank_at_leastassert_rank_inassert_same_float_dtypeassert_scalarassert_shapesassert_typecheck_numericsdisable_check_numericsdisable_traceback_filteringenable_check_numericsenable_traceback_filteringget_log_device_placementis_numeric_tensoris_traceback_filtering_enabledset_log_device_placement experimental Overviewdisable_dump_debug_infoenable_dump_debug_info tf.distribute OverviewCrossDeviceOpsDistributedDatasetDistributedIteratorDistributedValuesHierarchicalCopyAllReduceInputContextInputOptionsInputReplicationModeMirroredStrategyMultiWorkerMirroredStrategyNcclAllReduceOneDeviceStrategyReduceOpReductionToOneDeviceReplicaContextRunOptionsServerStrategyStrategyExtendedTPUStrategyexperimental_set_strategyget_replica_contextget_strategyhas_strategyin_cross_replica_context cluster_resolver OverviewClusterResolverGCEClusterResolverKubernetesClusterResolverSimpleClusterResolverSlurmClusterResolverTFConfigClusterResolverTPUClusterResolverUnionResolver coordinator Overview experimental OverviewCentralStorageStrategyCollectiveHintsCommunicationImplementationCommunicationOptionsMultiWorkerMirroredStrategyParameterServerStrategyPreemptionCheckpointHandlerTPUStrategyTerminationConfigValueContext coordinator OverviewClusterCoordinatorPerWorkerValuesRemoteValue partitioners OverviewFixedShardsPartitionerMaxSizePartitionerMinSizePartitionerPartitioner rpc OverviewClientServer tf.dtypes OverviewDTypeas_dtypecomplexsaturate_cast tf.errors OverviewAbortedErrorAlreadyExistsErrorCancelledErrorDataLossErrorDeadlineExceededErrorFailedPreconditionErrorInternalErrorInvalidArgumentErrorNotFoundErrorOpErrorOperatorNotAllowedInGraphErrorOutOfRangeErrorPermissionDeniedErrorResourceExhaustedErrorUnauthenticatedErrorUnavailableErrorUnimplementedErrorUnknownError tf.estimator OverviewBaselineClassifierBaselineEstimatorBaselineRegressorBestExporterBinaryClassHeadCheckpointSaverHookCheckpointSaverListenerDNNClassifierDNNEstimatorDNNLinearCombinedClassifierDNNLinearCombinedEstimatorDNNLinearCombinedRegressorDNNRegressorEstimatorEstimatorSpecEvalSpecExporterFeedFnHookFinalExporterFinalOpsHookGlobalStepWaiterHookHeadLatestExporterLinearClassifierLinearEstimatorLinearRegressorLoggingTensorHookLogisticRegressionHeadModeKeysMultiClassHeadMultiHeadMultiLabelHeadNanLossDuringTrainingErrorNanTensorHookPoissonRegressionHeadProfilerHookRegressionHeadRunConfigSecondOrStepTimerSessionRunArgsSessionRunContextSessionRunHookSessionRunValuesStepCounterHookStopAtStepHookSummarySaverHookTrainSpecVocabInfoWarmStartSettingsadd_metricsclassifier_parse_example_specregressor_parse_example_spectrain_and_evaluate experimental OverviewInMemoryEvaluatorHookLinearSDCARNNClassifierRNNEstimatorbuild_raw_supervised_input_receiver_fncall_logit_fnmake_early_stopping_hookmake_stop_at_checkpoint_step_hookstop_if_higher_hookstop_if_lower_hookstop_if_no_decrease_hookstop_if_no_increase_hook export OverviewClassificationOutputEvalOutputExportOutputPredictOutputRegressionOutputServingInputReceiverTensorServingInputReceiverbuild_parsing_serving_input_receiver_fnbuild_raw_serving_input_receiver_fn tf.experimental OverviewBatchableExtensionTypeDynamicRaggedShapeDynamicRaggedShape.SpecExtensionTypeExtensionTypeBatchEncoderOptionalRowPartitionStructuredTensorStructuredTensor.Specasync_clear_errorasync_scopedispatch_for_apidispatch_for_binary_elementwise_apisdispatch_for_binary_elementwise_assert_apisdispatch_for_unary_elementwise_apisfunction_executor_typeregister_filesystem_pluginunregister_dispatch_for dlpack Overviewfrom_dlpackto_dlpack dtensor OverviewDTensorCheckpointDTensorDatasetDVariableLayoutMeshbarriercall_with_layoutcheck_layoutclient_idcopy_to_meshcreate_distributed_meshcreate_meshcreate_tpu_meshdevice_nameenable_save_as_bf16fetch_layoutfull_job_nameheartbeat_enabledinitialize_accelerator_systeminitialize_multi_clientinitialize_tpu_systemjob_namejobslocal_devicesname_based_restorename_based_savenum_clientsnum_global_devicesnum_local_devicespackpreferred_device_typerelayoutrun_onsharded_saveshutdown_accelerator_systemshutdown_tpu_systemunpack numpy Overviewabsabsoluteaddallallcloseamaxaminangleanyappendarangearccosarccosharcsinarcsinharctanarctan2arctanhargmaxargminargsortaroundarrayarray_equalasanyarrayasarrayascontiguousarrayatleast_1datleast_2datleast_3daveragebitwise_andbitwise_notbitwise_orbitwise_xorbool_broadcast_arraysbroadcast_tocbrtceilclipcomplex128complex64compressconcatenateconjconjugatecopycoscoshcount_nonzerocrosscumprodcumsumdeg2raddiagdiag_indicesdiagflatdiagonaldiffdividedivmoddotdsplitdstackeinsumemptyempty_likeequalexpexp2expand_dimsexperimental_enable_numpy_behaviorexpm1eyefabsfinfofixflipfliplrflipudfloat16float32float64float_powerfloorfloor_dividefullfull_likegcdgeomspacegreatergreater_equalheavisidehsplithstackhypotidentityiinfoimaginexactinnerint16int32int64int8iscloseiscomplexiscomplexobjisfiniteisinfisnanisneginfisposinfisrealisrealobjisscalarissubdtypeix_kronlcmlessless_equallinspaceloglog10log1plog2logaddexplogaddexp2logical_andlogical_notlogical_orlogical_xorlogspacematmulmaxmaximummeanmeshgridminminimummodmoveaxismultiplynanmeannanprodnansumndimnegativenextafternonzeronot_equalobject_onesones_likeouterpadpolyvalpositivepowerprodpromote_typesptprad2degravelrealreciprocalremainderrepeatreshaperesult_typerollrot90roundselectshapesignsignbitsinsincsinhsizesortsplitsqrtsquaresqueezestackstdstring_subtractsumswapaxestaketake_along_axistantanhtensordottiletracetransposetritriltriutrue_divideuint16uint32uint64uint8unicode_vandervarvdotvsplitvstackwherezeroszeros_like random Overviewpoissonrandrandintrandnrandomseedstandard_normaluniform tensorrt OverviewConversionParamsConverter tf.feature_column Overviewbucketized_columncategorical_column_with_hash_bucketcategorical_column_with_identitycategorical_column_with_vocabulary_filecategorical_column_with_vocabulary_listcrossed_columnembedding_columnindicator_columnmake_parse_example_specnumeric_columnsequence_categorical_column_with_hash_bucketsequence_categorical_column_with_identitysequence_categorical_column_with_vocabulary_filesequence_categorical_column_with_vocabulary_listsequence_numeric_columnshared_embeddingsweighted_categorical_column tf.graph_util Overviewimport_graph_def tf.image OverviewResizeMethodadjust_brightnessadjust_contrastadjust_gammaadjust_hueadjust_jpeg_qualityadjust_saturationcentral_cropcombined_non_max_suppressionconvert_image_dtypecrop_and_resizecrop_to_bounding_boxdraw_bounding_boxesextract_glimpseextract_patchesflip_left_rightflip_up_downgenerate_bounding_box_proposalsgrayscale_to_rgbhsv_to_rgbimage_gradientsnon_max_suppressionnon_max_suppression_overlapsnon_max_suppression_paddednon_max_suppression_with_scorespad_to_bounding_boxper_image_standardizationpsnrrandom_brightnessrandom_contrastrandom_croprandom_flip_left_rightrandom_flip_up_downrandom_huerandom_jpeg_qualityrandom_saturationresizeresize_with_crop_or_padresize_with_padrgb_to_grayscalergb_to_hsvrgb_to_yiqrgb_to_yuvrot90sample_distorted_bounding_boxsobel_edgesssimssim_multiscalestateless_random_brightnessstateless_random_contraststateless_random_cropstateless_random_flip_left_rightstateless_random_flip_up_downstateless_random_huestateless_random_jpeg_qualitystateless_random_saturationstateless_sample_distorted_bounding_boxtotal_variationtransposeyiq_to_rgbyuv_to_rgb tf.io OverviewFixedLenFeatureFixedLenSequenceFeatureRaggedFeatureRaggedFeature.RowLengthsRaggedFeature.RowLimitsRaggedFeature.RowSplitsRaggedFeature.RowStartsRaggedFeature.UniformRowLengthRaggedFeature.ValueRowIdsSparseFeatureTFRecordOptionsTFRecordWriterVarLenFeaturedecode_and_crop_jpegdecode_base64decode_bmpdecode_compresseddecode_csvdecode_gifdecode_imagedecode_jpegdecode_json_exampledecode_pngdecode_protodecode_rawdeserialize_many_sparseencode_base64encode_jpegencode_pngencode_protoextract_jpeg_shapeis_jpegmatch_filenames_oncematching_filesparse_exampleparse_sequence_exampleparse_single_exampleparse_single_sequence_exampleparse_tensorread_fileserialize_many_sparseserialize_sparseserialize_tensorwrite_filewrite_graph gfile OverviewGFilecopyexistsget_registered_schemesglobisdirjoinlistdirmakedirsmkdirremoverenamermtreestatwalk tf.keras OverviewInputModelSequential activations Overviewdeserializeeluexponentialgelugethard_sigmoidlinearreluseluserializesigmoidsoftmaxsoftplussoftsignswishtanh applications OverviewMobileNetV3LargeMobileNetV3Small convnext OverviewConvNeXtBaseConvNeXtLargeConvNeXtSmallConvNeXtTinyConvNeXtXLargedecode_predictionspreprocess_input densenet OverviewDenseNet121DenseNet169DenseNet201decode_predictionspreprocess_input efficientnet OverviewEfficientNetB0EfficientNetB1EfficientNetB2EfficientNetB3EfficientNetB4EfficientNetB5EfficientNetB6EfficientNetB7decode_predictionspreprocess_input efficientnet_v2 OverviewEfficientNetV2B0EfficientNetV2B1EfficientNetV2B2EfficientNetV2B3EfficientNetV2LEfficientNetV2MEfficientNetV2Sdecode_predictionspreprocess_input imagenet_utils Overviewdecode_predictionspreprocess_input inception_resnet_v2 OverviewInceptionResNetV2decode_predictionspreprocess_input inception_v3 OverviewInceptionV3decode_predictionspreprocess_input mobilenet OverviewMobileNetdecode_predictionspreprocess_input mobilenet_v2 OverviewMobileNetV2decode_predictionspreprocess_input mobilenet_v3 Overviewdecode_predictionspreprocess_input nasnet OverviewNASNetLargeNASNetMobiledecode_predictionspreprocess_input regnet OverviewRegNetX002RegNetX004RegNetX006RegNetX008RegNetX016RegNetX032RegNetX040RegNetX064RegNetX080RegNetX120RegNetX160RegNetX320RegNetY002RegNetY004RegNetY006RegNetY008RegNetY016RegNetY032RegNetY040RegNetY064RegNetY080RegNetY120RegNetY160RegNetY320decode_predictionspreprocess_input resnet OverviewResNet101ResNet152 resnet50 OverviewResNet50decode_predictionspreprocess_input resnet_rs OverviewResNetRS101ResNetRS152ResNetRS200ResNetRS270ResNetRS350ResNetRS420ResNetRS50decode_predictionspreprocess_input resnet_v2 OverviewResNet101V2ResNet152V2ResNet50V2decode_predictionspreprocess_input vgg16 OverviewVGG16decode_predictionspreprocess_input vgg19 OverviewVGG19decode_predictionspreprocess_input xception OverviewXceptiondecode_predictionspreprocess_input backend Overviewclear_sessionepsilonfloatxget_uidimage_data_formatis_keras_tensorreset_uidsrnnset_epsilonset_floatxset_image_data_format experimental Overviewdisable_tf_random_generatorenable_tf_random_generatoris_tf_random_generator_enabled callbacks OverviewBackupAndRestoreBaseLoggerCSVLoggerCallbackCallbackListEarlyStoppingHistoryLambdaCallbackLearningRateSchedulerModelCheckpointProgbarLoggerReduceLROnPlateauRemoteMonitorTensorBoardTerminateOnNaN experimental OverviewBackupAndRestore constraints OverviewConstraintMaxNormMinMaxNormNonNegRadialConstraintUnitNormdeserializegetserialize datasets Overview boston_housing Overviewload_data cifar10 Overviewload_data cifar100 Overviewload_data fashion_mnist Overviewload_data imdb Overviewget_word_indexload_data mnist Overviewload_data reuters Overviewget_word_indexload_data dtensor Overview experimental OverviewLayoutMaplayout_map_scope optimizers OverviewAdadeltaAdagradAdamAdamWRMSpropSGD estimator Overviewmodel_to_estimator experimental OverviewLinearModelSequenceFeaturesSidecarEvaluatorWideDeepModel initializers OverviewConstantGlorotNormalGlorotUniformHeNormalHeUniformIdentityInitializerLecunNormalLecunUniformOnesOrthogonalRandomNormalRandomUniformTruncatedNormalVarianceScalingZerosdeserializegetserialize layers OverviewAbstractRNNCellActivationActivityRegularizationAddAdditiveAttentionAlphaDropoutAttentionAverageAveragePooling1DAveragePooling2DAveragePooling3DBatchNormalizationBidirectionalCategoryEncodingCenterCropConcatenateConv1DConv1DTransposeConv2DConv2DTransposeConv3DConv3DTransposeConvLSTM1DConvLSTM2DConvLSTM3DCropping1DCropping2DCropping3DDenseDenseFeaturesDepthwiseConv1DDepthwiseConv2DDiscretizationDotDropoutELUEinsumDenseEmbeddingFlattenGRUGRUCellGaussianDropoutGaussianNoiseGlobalAveragePooling1DGlobalAveragePooling2DGlobalAveragePooling3DGlobalMaxPool1DGlobalMaxPool2DGlobalMaxPool3DGroupNormalizationHashingInputLayerInputSpecIntegerLookupLSTMLSTMCellLambdaLayerLayerNormalizationLeakyReLULocallyConnected1DLocallyConnected2DMaskingMaxPool1DMaxPool2DMaxPool3DMaximumMinimumMultiHeadAttentionMultiplyNormalizationPReLUPermuteRNNRandomBrightnessRandomContrastRandomCropRandomFlipRandomHeightRandomRotationRandomTranslationRandomWidthRandomZoomReLURepeatVectorRescalingReshapeResizingSeparableConv1DSeparableConv2DSimpleRNNSimpleRNNCellSoftmaxSpatialDropout1DSpatialDropout2DSpatialDropout3DStackedRNNCellsStringLookupSubtractTextVectorizationThresholdedReLUTimeDistributedUnitNormalizationUpSampling1DUpSampling2DUpSampling3DWrapperZeroPadding1DZeroPadding2DZeroPadding3Daddaverageconcatenatedeserializedotmaximumminimummultiplyserializesubtract experimental OverviewRandomFourierFeaturesSyncBatchNormalization preprocessing OverviewHashedCrossingPreprocessingLayer losses OverviewBinaryCrossentropyBinaryFocalCrossentropyCategoricalCrossentropyCategoricalHingeCosineSimilarityHingeHuberKLDivergenceLogCoshLossMeanAbsoluteErrorMeanAbsolutePercentageErrorMeanSquaredErrorMeanSquaredLogarithmicErrorPoissonReductionSparseCategoricalCrossentropySquaredHingecategorical_hingecosine_similaritydeserializegethuberlog_coshserialize metrics OverviewAUCAccuracyBinaryAccuracyBinaryCrossentropyBinaryIoUCategoricalAccuracyCategoricalCrossentropyCategoricalHingeCosineSimilarityFalseNegativesFalsePositivesHingeIoUKLDivergenceLogCoshErrorMeanMeanAbsoluteErrorMeanAbsolutePercentageErrorMeanIoUMeanMetricWrapperMeanRelativeErrorMeanSquaredErrorMeanSquaredLogarithmicErrorMeanTensorMetricOneHotIoUOneHotMeanIoUPoissonPrecisionPrecisionAtRecallRecallRecallAtPrecisionRootMeanSquaredErrorSensitivityAtSpecificitySparseCategoricalAccuracySparseCategoricalCrossentropySparseTopKCategoricalAccuracySpecificityAtSensitivitySquaredHingeSumTopKCategoricalAccuracyTrueNegativesTruePositivesbinary_accuracybinary_crossentropybinary_focal_crossentropycategorical_accuracycategorical_crossentropydeserializegethingekl_divergencemean_absolute_errormean_absolute_percentage_errormean_squared_errormean_squared_logarithmic_errorpoissonserializesparse_categorical_accuracysparse_categorical_crossentropysparse_top_k_categorical_accuracysquared_hingetop_k_categorical_accuracy mixed_precision OverviewLossScaleOptimizerPolicyglobal_policyset_global_policy models Overviewclone_modelload_modelmodel_from_configmodel_from_jsonmodel_from_yamlsave_model experimental OverviewSharpnessAwareMinimization optimizers OverviewAdadeltaAdagradAdamAdamaxFtrlNadamOptimizerRMSpropSGDdeserializegetserialize experimental OverviewAdadeltaAdafactorAdagradAdamAdamWAdamaxFtrlNadamOptimizerRMSpropSGD legacy OverviewAdadeltaAdagradAdamAdamaxFtrlNadamOptimizerRMSpropSGD schedules OverviewCosineDecayCosineDecayRestartsExponentialDecayInverseTimeDecayLearningRateSchedulePiecewiseConstantDecayPolynomialDecaydeserializeserialize preprocessing Overview image OverviewDirectoryIteratorImageDataGeneratorIteratorNumpyArrayIteratorapply_affine_transformapply_brightness_shiftapply_channel_shiftrandom_brightnessrandom_channel_shiftrandom_rotationrandom_shearrandom_shiftrandom_zoomsmart_resize sequence OverviewTimeseriesGeneratormake_sampling_tableskipgrams text OverviewTokenizerhashing_trickone_hottext_to_word_sequencetokenizer_from_json regularizers OverviewL1L1L2L2OrthogonalRegularizerRegularizerdeserializegetl1_l2serialize utils OverviewGeneratorEnqueuerOrderedEnqueuerProgbarSequenceSequenceEnqueuerSidecarEvaluatorarray_to_imgaudio_dataset_from_directorycustom_object_scopedeserialize_keras_objectdisable_interactive_loggingenable_interactive_loggingget_custom_objectsget_fileget_registered_nameget_registered_objectget_source_inputsimage_dataset_from_directoryimg_to_arrayis_interactive_logging_enabledload_imgmodel_to_dotnormalizepack_x_y_sample_weightpad_sequencesplot_modelregister_keras_serializablesave_imgserialize_keras_objectset_random_seedsplit_datasettext_dataset_from_directorytimeseries_dataset_from_arrayto_categoricalunpack_x_y_sample_weightwarmstart_embedding_matrix experimental OverviewDatasetCreator wrappers Overview scikit_learn Overview tf.linalg OverviewLinearOperatorLinearOperatorAdjointLinearOperatorBlockDiagLinearOperatorBlockLowerTriangularLinearOperatorCirculantLinearOperatorCirculant2DLinearOperatorCirculant3DLinearOperatorCompositionLinearOperatorDiagLinearOperatorFullMatrixLinearOperatorHouseholderLinearOperatorIdentityLinearOperatorInversionLinearOperatorKroneckerLinearOperatorLowRankUpdateLinearOperatorLowerTriangularLinearOperatorPermutationLinearOperatorScaledIdentityLinearOperatorToeplitzLinearOperatorTridiagLinearOperatorZerosadjointband_partbanded_triangular_solvecholeskycholesky_solvecrossdetdiagdiag_parteigeigheigh_tridiagonaleigvalseigvalshexpmglobal_norminvlogdetlogmlstsqlulu_matrix_inverselu_reconstructlu_solvematmulmatrix_rankmatrix_transposematvecnormalizepinvqrset_diagslogdetsolvesqrtmsvdtensor_diagtensor_diag_parttracetriangular_solvetridiagonal_matmultridiagonal_solve experimental Overviewconjugate_gradient tf.lite OverviewInterpreterOpsSetOptimizeRepresentativeDatasetTFLiteConverterTargetSpec experimental OverviewAnalyzerOpResolverTypeQuantizationDebugOptionsQuantizationDebuggerload_delegate authoring Overviewcompatible tf.lookup OverviewKeyValueTensorInitializerStaticHashTableStaticVocabularyTableTextFileIndexTextFileInitializer experimental OverviewDenseHashTableMutableHashTable tf.math Overviewabsaccumulate_nacosacoshaddadd_nangleapprox_max_kapprox_min_kargmaxargminasinasinhatanatan2atanhbessel_i0bessel_i0ebessel_i1bessel_i1ebetaincbincountceilconfusion_matrixconjcoscoshcount_nonzerocumprodcumsumcumulative_logsumexpdigammadividedivide_no_nanequalerferfcerfcinverfinvexpexpm1floorfloordivfloormodgreatergreater_equaligammaigammacimagin_top_kinvert_permutationis_finiteis_infis_nanis_non_decreasingis_strictly_increasingl2_normalizelbetalessless_equallgammaloglog1plog_sigmoidlogical_andlogical_notlogical_orlogical_xormaximumminimummultiplymultiply_no_nanndtrinegativenextafternot_equalpolygammapolyvalpowrealreciprocalreciprocal_no_nanreduce_allreduce_anyreduce_euclidean_normreduce_logsumexpreduce_maxreduce_meanreduce_minreduce_prodreduce_stdreduce_sumreduce_variancerintroundrsqrtscalar_mulsegment_maxsegment_meansegment_minsegment_prodsegment_sumsigmoidsignsinsinhsobol_samplesoftplussqrtsquaresquared_differencesubtracttantanhtop_ktruedivunsorted_segment_maxunsorted_segment_meanunsorted_segment_minunsorted_segment_produnsorted_segment_sqrt_nunsorted_segment_sumxdivyxlog1pyxlogyzero_fractionzeta special Overviewbessel_j0bessel_j1bessel_k0bessel_k0ebessel_k1bessel_k1ebessel_y0bessel_y1dawsnexpintfresnel_cosfresnel_sinspence tf.mlir Overview experimental Overviewconvert_functionconvert_graph_def tf.nest Overviewassert_same_structureflattenis_nestedmap_structurepack_sequence_as tf.nn OverviewRNNCellDeviceWrapperRNNCellDropoutWrapperRNNCellResidualWrapperatrous_conv2datrous_conv2d_transposeavg_poolavg_pool1davg_pool2davg_pool3dbatch_norm_with_global_normalizationbatch_normalizationbias_addcollapse_repeatedcompute_accidental_hitscompute_average_lossconv1dconv1d_transposeconv2dconv2d_transposeconv3dconv3d_transposeconv_transposeconvolutioncreluctc_beam_search_decoderctc_greedy_decoderctc_lossctc_unique_labelsdepth_to_spacedepthwise_conv2ddepthwise_conv2d_backprop_filterdepthwise_conv2d_backprop_inputdilation2ddropouteluembedding_lookupembedding_lookup_sparseerosion2dfractional_avg_poolfractional_max_poolgeluisotonic_regressionl2_lossleaky_relulocal_response_normalizationlog_poisson_losslog_softmaxmax_poolmax_pool1dmax_pool2dmax_pool3dmax_pool_with_argmaxmomentsnce_lossnormalize_momentspoolrelurelu6safe_embedding_lookup_sparsesampled_softmax_lossscale_regularization_lossseluseparable_conv2dsigmoid_cross_entropy_with_logitssilusoftmaxsoftmax_cross_entropy_with_logitssoftsignspace_to_depthsparse_softmax_cross_entropy_with_logitssufficient_statisticsweighted_cross_entropy_with_logitsweighted_momentswith_space_to_batch experimental Overviewstateless_dropout tf.profiler Overview experimental OverviewProfileProfilerOptionsTracestartstop client Overviewmonitortrace server Overviewstart tf.quantization Overviewdequantizefake_quant_with_min_max_argsfake_quant_with_min_max_args_gradientfake_quant_with_min_max_varsfake_quant_with_min_max_vars_gradientfake_quant_with_min_max_vars_per_channelfake_quant_with_min_max_vars_per_channel_gradientquantizequantize_and_dequantizequantize_and_dequantize_v2quantized_concat tf.queue OverviewFIFOQueuePaddingFIFOQueuePriorityQueueQueueBaseRandomShuffleQueue tf.ragged Overviewboolean_maskconstantcrosscross_hashedmap_flat_valuesrangerow_splits_to_segment_idssegment_ids_to_row_splitsstackstack_dynamic_partitions tf.random OverviewAlgorithmGeneratorall_candidate_samplercategoricalcreate_rng_statefixed_unigram_candidate_samplergammaget_global_generatorlearned_unigram_candidate_samplerlog_uniform_candidate_samplernormalpoissonset_global_generatorset_seedshufflestateless_binomialstateless_categoricalstateless_gammastateless_normalstateless_parameterized_truncated_normalstateless_poissonstateless_truncated_normalstateless_uniformtruncated_normaluniformuniform_candidate_sampler experimental Overviewindex_shufflestateless_fold_instateless_shufflestateless_split tf.raw_ops OverviewAbortAbsAccumulateNV2AccumulatorApplyGradientAccumulatorNumAccumulatedAccumulatorSetGlobalStepAccumulatorTakeGradientAcosAcoshAddAddManySparseToTensorsMapAddNAddSparseToTensorsMapAddV2AdjustContrastAdjustContrastv2AdjustHueAdjustSaturationAllAllCandidateSamplerAllToAllAngleAnonymousHashTableAnonymousIteratorAnonymousIteratorV2AnonymousIteratorV3AnonymousMemoryCacheAnonymousMultiDeviceIteratorAnonymousMultiDeviceIteratorV3AnonymousMutableDenseHashTableAnonymousMutableHashTableAnonymousMutableHashTableOfTensorsAnonymousRandomSeedGeneratorAnonymousSeedGeneratorAnyApplyAdaMaxApplyAdadeltaApplyAdagradApplyAdagradDAApplyAdagradV2ApplyAdamApplyAddSignApplyCenteredRMSPropApplyFtrlApplyFtrlV2ApplyGradientDescentApplyMomentumApplyPowerSignApplyProximalAdagradApplyProximalGradientDescentApplyRMSPropApproxTopKApproximateEqualArgMaxArgMinAsStringAsinAsinhAssertAssertCardinalityDatasetAssertNextDatasetAssertPrevDatasetAssignAssignAddAssignAddVariableOpAssignSubAssignSubVariableOpAssignVariableOpAssignVariableXlaConcatNDAtanAtan2AtanhAudioSpectrogramAudioSummaryAudioSummaryV2AutoShardDatasetAvgPoolAvgPool3DAvgPool3DGradAvgPoolGradBandedTriangularSolveBarrierBarrierCloseBarrierIncompleteSizeBarrierInsertManyBarrierReadySizeBarrierTakeManyBatchBatchCholeskyBatchCholeskyGradBatchDatasetBatchDatasetV2BatchFFTBatchFFT2DBatchFFT3DBatchFunctionBatchIFFTBatchIFFT2DBatchIFFT3DBatchMatMulBatchMatMulV2BatchMatMulV3BatchMatrixBandPartBatchMatrixDeterminantBatchMatrixDiagBatchMatrixDiagPartBatchMatrixInverseBatchMatrixSetDiagBatchMatrixSolveBatchMatrixSolveLsBatchMatrixTriangularSolveBatchNormWithGlobalNormalizationBatchNormWithGlobalNormalizationGradBatchSelfAdjointEigBatchSelfAdjointEigV2BatchSvdBatchToSpaceBatchToSpaceNDBesselI0BesselI0eBesselI1BesselI1eBesselJ0BesselJ1BesselK0BesselK0eBesselK1BesselK1eBesselY0BesselY1BetaincBiasAddBiasAddGradBiasAddV1BincountBitcastBitwiseAndBitwiseOrBitwiseXorBlockLSTMBlockLSTMGradBlockLSTMGradV2BlockLSTMV2BoostedTreesAggregateStatsBoostedTreesBucketizeBoostedTreesCalculateBestFeatureSplitBoostedTreesCalculateBestFeatureSplitV2BoostedTreesCalculateBestGainsPerFeatureBoostedTreesCenterBiasBoostedTreesCreateEnsembleBoostedTreesCreateQuantileStreamResourceBoostedTreesDeserializeEnsembleBoostedTreesEnsembleResourceHandleOpBoostedTreesExampleDebugOutputsBoostedTreesFlushQuantileSummariesBoostedTreesGetEnsembleStatesBoostedTreesMakeQuantileSummariesBoostedTreesMakeStatsSummaryBoostedTreesPredictBoostedTreesQuantileStreamResourceAddSummariesBoostedTreesQuantileStreamResourceDeserializeBoostedTreesQuantileStreamResourceFlushBoostedTreesQuantileStreamResourceGetBucketBoundariesBoostedTreesQuantileStreamResourceHandleOpBoostedTreesSerializeEnsembleBoostedTreesSparseAggregateStatsBoostedTreesSparseCalculateBestFeatureSplitBoostedTreesTrainingPredictBoostedTreesUpdateEnsembleBoostedTreesUpdateEnsembleV2BroadcastArgsBroadcastGradientArgsBroadcastToBucketizeBytesProducedStatsDatasetCSRSparseMatrixComponentsCSRSparseMatrixToDenseCSRSparseMatrixToSparseTensorCSVDatasetCSVDatasetV2CTCBeamSearchDecoderCTCGreedyDecoderCTCLossCTCLossV2CacheDatasetCacheDatasetV2CaseCastCeilCheckNumericsCheckNumericsV2CholeskyCholeskyGradChooseFastestBranchDatasetChooseFastestDatasetClipByValueCloseSummaryWriterCollectiveAllToAllV3CollectiveAssignGroupV2CollectiveBcastRecvCollectiveBcastRecvV2CollectiveBcastSendCollectiveBcastSendV2CollectiveGatherCollectiveGatherV2CollectiveInitializeCommunicatorCollectivePermuteCollectiveReduceCollectiveReduceV2CollectiveReduceV3CombinedNonMaxSuppressionComplexComplexAbsCompositeTensorVariantFromComponentsCompositeTensorVariantToComponentsCompressElementComputeAccidentalHitsComputeBatchSizeConcatConcatOffsetConcatV2ConcatenateDatasetConditionalAccumulatorConfigureDistributedTPUConfigureTPUEmbeddingConjConjugateTransposeConstConsumeMutexLockControlTriggerConv2DConv2DBackpropFilterConv2DBackpropInputConv3DConv3DBackpropFilterConv3DBackpropFilterV2Conv3DBackpropInputConv3DBackpropInputV2CopyCopyHostCosCoshCountUpToCreateSummaryDbWriterCreateSummaryFileWriterCropAndResizeCropAndResizeGradBoxesCropAndResizeGradImageCrossCrossReplicaSumCudnnRNNCudnnRNNBackpropCudnnRNNBackpropV2CudnnRNNBackpropV3CudnnRNNCanonicalToParamsCudnnRNNCanonicalToParamsV2CudnnRNNParamsSizeCudnnRNNParamsToCanonicalCudnnRNNParamsToCanonicalV2CudnnRNNV2CudnnRNNV3CumprodCumsumCumulativeLogsumexpDataFormatDimMapDataFormatVecPermuteDataServiceDatasetDataServiceDatasetV2DataServiceDatasetV3DataServiceDatasetV4DatasetCardinalityDatasetFromGraphDatasetToGraphDatasetToGraphV2DatasetToSingleElementDatasetToTFRecordDawsnDebugGradientIdentityDebugGradientRefIdentityDebugIdentityDebugIdentityV2DebugNanCountDebugNumericSummaryDebugNumericSummaryV2DecodeAndCropJpegDecodeBase64DecodeBmpDecodeCSVDecodeCompressedDecodeGifDecodeImageDecodeJSONExampleDecodeJpegDecodePaddedRawDecodePngDecodeProtoV2DecodeRawDecodeWavDeepCopyDeleteIteratorDeleteMemoryCacheDeleteMultiDeviceIteratorDeleteRandomSeedGeneratorDeleteSeedGeneratorDeleteSessionTensorDenseBincountDenseCountSparseOutputDenseToCSRSparseMatrixDenseToDenseSetOperationDenseToSparseBatchDatasetDenseToSparseSetOperationDepthToSpaceDepthwiseConv2dNativeDepthwiseConv2dNativeBackpropFilterDepthwiseConv2dNativeBackpropInputDequantizeDeserializeIteratorDeserializeManySparseDeserializeSparseDestroyResourceOpDestroyTemporaryVariableDeviceIndexDiagDiagPartDigammaDilation2DDilation2DBackpropFilterDilation2DBackpropInputDirectedInterleaveDatasetDisableCopyOnReadDivDivNoNanDrawBoundingBoxesDrawBoundingBoxesV2DummyIterationCounterDummyMemoryCacheDummySeedGeneratorDynamicEnqueueTPUEmbeddingArbitraryTensorBatchDynamicPartitionDynamicStitchEagerPyFuncEditDistanceEigEinsumEluEluGradEmptyEmptyTensorListEncodeBase64EncodeJpegEncodeJpegVariableQualityEncodePngEncodeProtoEncodeWavEnqueueTPUEmbeddingArbitraryTensorBatchEnqueueTPUEmbeddingIntegerBatchEnqueueTPUEmbeddingRaggedTensorBatchEnqueueTPUEmbeddingSparseBatchEnqueueTPUEmbeddingSparseTensorBatchEnsureShapeEnterEqualErfErfcErfinvEuclideanNormExitExpExpandDimsExperimentalAssertNextDatasetExperimentalAutoShardDatasetExperimentalBytesProducedStatsDatasetExperimentalCSVDatasetExperimentalChooseFastestDatasetExperimentalDatasetCardinalityExperimentalDatasetToTFRecordExperimentalDenseToSparseBatchDatasetExperimentalDirectedInterleaveDatasetExperimentalGroupByReducerDatasetExperimentalGroupByWindowDatasetExperimentalIgnoreErrorsDatasetExperimentalIteratorGetDeviceExperimentalLMDBDatasetExperimentalLatencyStatsDatasetExperimentalMapAndBatchDatasetExperimentalMapDatasetExperimentalMatchingFilesDatasetExperimentalMaxIntraOpParallelismDatasetExperimentalNonSerializableDatasetExperimentalParallelInterleaveDatasetExperimentalParseExampleDatasetExperimentalPrivateThreadPoolDatasetExperimentalRandomDatasetExperimentalRebatchDatasetExperimentalScanDatasetExperimentalSetStatsAggregatorDatasetExperimentalSleepDatasetExperimentalSlidingWindowDatasetExperimentalSqlDatasetExperimentalStatsAggregatorHandleExperimentalStatsAggregatorSummaryExperimentalTakeWhileDatasetExperimentalThreadPoolDatasetExperimentalThreadPoolHandleExperimentalUnbatchDatasetExperimentalUniqueDatasetExpintExpm1ExtractGlimpseExtractGlimpseV2ExtractImagePatchesExtractJpegShapeExtractVolumePatchesFFTFFT2DFFT3DFIFOQueueFIFOQueueV2FactFakeParamFakeQuantWithMinMaxArgsFakeQuantWithMinMaxArgsGradientFakeQuantWithMinMaxVarsFakeQuantWithMinMaxVarsGradientFakeQuantWithMinMaxVarsPerChannelFakeQuantWithMinMaxVarsPerChannelGradientFakeQueueFillFilterByLastComponentDatasetFilterDatasetFinalizeDatasetFingerprintFixedLengthRecordDatasetFixedLengthRecordDatasetV2FixedLengthRecordReaderFixedLengthRecordReaderV2FixedUnigramCandidateSamplerFlatMapDatasetFloorFloorDivFloorModFlushSummaryWriterForFractionalAvgPoolFractionalAvgPoolGradFractionalMaxPoolFractionalMaxPoolGradFresnelCosFresnelSinFusedBatchNormFusedBatchNormGradFusedBatchNormGradV2FusedBatchNormGradV3FusedBatchNormV2FusedBatchNormV3FusedPadConv2DFusedResizeAndPadConv2DGRUBlockCellGRUBlockCellGradGatherGatherNdGatherV2GenerateBoundingBoxProposalsGenerateVocabRemappingGeneratorDatasetGetElementAtIndexGetOptionsGetSessionHandleGetSessionHandleV2GetSessionTensorGreaterGreaterEqualGroupByReducerDatasetGroupByWindowDatasetGuaranteeConstHSVToRGBHashTableHashTableV2HistogramFixedWidthHistogramSummaryIFFTIFFT2DIFFT3DIRFFTIRFFT2DIRFFT3DIdentityIdentityNIdentityReaderIdentityReaderV2IfIgammaIgammaGradAIgammacIgnoreErrorsDatasetImagImageProjectiveTransformV2ImageProjectiveTransformV3ImageSummaryImmutableConstImportEventInTopKInTopKV2InfeedDequeueInfeedDequeueTupleInfeedEnqueueInfeedEnqueuePrelinearizedBufferInfeedEnqueueTupleInitializeTableInitializeTableFromDatasetInitializeTableFromTextFileInitializeTableFromTextFileV2InitializeTableV2InplaceAddInplaceSubInplaceUpdateInterleaveDatasetInvInvGradInvertInvertPermutationIsBoostedTreesEnsembleInitializedIsBoostedTreesQuantileStreamResourceInitializedIsFiniteIsInfIsNanIsTPUEmbeddingInitializedIsVariableInitializedIsotonicRegressionIteratorIteratorFromStringHandleIteratorFromStringHandleV2IteratorGetDeviceIteratorGetNextIteratorGetNextAsOptionalIteratorGetNextSyncIteratorToStringHandleIteratorV2L2LossLMDBDatasetLMDBReaderLRNLRNGradLSTMBlockCellLSTMBlockCellGradLatencyStatsDatasetLeakyReluLeakyReluGradLearnedUnigramCandidateSamplerLeftShiftLegacyParallelInterleaveDatasetV2LessLessEqualLgammaLinSpaceListDatasetListDiffLoadAndRemapMatrixLoadDatasetLoadTPUEmbeddingADAMParametersLoadTPUEmbeddingAdadeltaParametersLoadTPUEmbeddingAdagradMomentumParametersLoadTPUEmbeddingAdagradParametersLoadTPUEmbeddingCenteredRMSPropParametersLoadTPUEmbeddingFTRLParametersLoadTPUEmbeddingFrequencyEstimatorParametersLoadTPUEmbeddingMDLAdagradLightParametersLoadTPUEmbeddingMomentumParametersLoadTPUEmbeddingProximalAdagradParametersLoadTPUEmbeddingProximalYogiParametersLoadTPUEmbeddingRMSPropParametersLoadTPUEmbeddingStochasticGradientDescentParametersLogLog1pLogMatrixDeterminantLogSoftmaxLogUniformCandidateSamplerLogicalAndLogicalNotLogicalOrLookupTableExportLookupTableExportV2LookupTableFindLookupTableFindV2LookupTableImportLookupTableImportV2LookupTableInsertLookupTableInsertV2LookupTableRemoveV2LookupTableSizeLookupTableSizeV2LoopCondLowerBoundLuMakeIteratorMapAndBatchDatasetMapClearMapDatasetMapDefunMapIncompleteSizeMapPeekMapSizeMapStageMapUnstageMapUnstageNoKeyMatMulMatchingFilesMatchingFilesDatasetMatrixBandPartMatrixDeterminantMatrixDiagMatrixDiagPartMatrixDiagPartV2MatrixDiagPartV3MatrixDiagV2MatrixDiagV3MatrixExponentialMatrixInverseMatrixLogarithmMatrixSetDiagMatrixSetDiagV2MatrixSetDiagV3MatrixSolveMatrixSolveLsMatrixSquareRootMatrixTriangularSolveMaxMaxIntraOpParallelismDatasetMaxPoolMaxPool3DMaxPool3DGradMaxPool3DGradGradMaxPoolGradMaxPoolGradGradMaxPoolGradGradV2MaxPoolGradGradWithArgmaxMaxPoolGradV2MaxPoolGradWithArgmaxMaxPoolV2MaxPoolWithArgmaxMaximumMeanMergeMergeSummaryMergeV2CheckpointsMfccMinMinimumMirrorPadMirrorPadGradModModelDatasetMulMulNoNanMultiDeviceIteratorMultiDeviceIteratorFromStringHandleMultiDeviceIteratorGetNextFromShardMultiDeviceIteratorInitMultiDeviceIteratorToStringHandleMultinomialMutableDenseHashTableMutableDenseHashTableV2MutableHashTableMutableHashTableOfTensorsMutableHashTableOfTensorsV2MutableHashTableV2MutexLockMutexV2NcclAllReduceNcclBroadcastNcclReduceNdtriNegNextAfterNextIterationNoOpNonDeterministicIntsNonMaxSuppressionNonMaxSuppressionV2NonMaxSuppressionV3NonMaxSuppressionV4NonMaxSuppressionV5NonMaxSuppressionWithOverlapsNonSerializableDatasetNotEqualNthElementOneHotOneShotIteratorOnesLikeOptimizeDatasetOptimizeDatasetV2OptionalFromValueOptionalGetValueOptionalHasValueOptionalNoneOptionsDatasetOrderedMapClearOrderedMapIncompleteSizeOrderedMapPeekOrderedMapSizeOrderedMapStageOrderedMapUnstageOrderedMapUnstageNoKeyOutfeedDequeueOutfeedDequeueTupleOutfeedDequeueTupleV2OutfeedDequeueV2OutfeedEnqueueOutfeedEnqueueTuplePackPadPadV2PaddedBatchDatasetPaddedBatchDatasetV2PaddingFIFOQueuePaddingFIFOQueueV2ParallelBatchDatasetParallelConcatParallelDynamicStitchParallelFilterDatasetParallelInterleaveDatasetParallelInterleaveDatasetV2ParallelInterleaveDatasetV3ParallelInterleaveDatasetV4ParallelMapDatasetParallelMapDatasetV2ParameterizedTruncatedNormalParseExampleParseExampleDatasetParseExampleDatasetV2ParseExampleV2ParseSequenceExampleParseSequenceExampleV2ParseSingleExampleParseSingleSequenceExampleParseTensorPartitionedCallPlaceholderPlaceholderV2PlaceholderWithDefaultPolygammaPopulationCountPowPrefetchDatasetPrelinearizePrelinearizeTuplePreventGradientPrintPrintV2PriorityQueuePriorityQueueV2PrivateThreadPoolDatasetProdPyFuncPyFuncStatelessQrQuantizeAndDequantizeQuantizeAndDequantizeV2QuantizeAndDequantizeV3QuantizeAndDequantizeV4QuantizeAndDequantizeV4GradQuantizeDownAndShrinkRangeQuantizeV2QuantizedAddQuantizedAvgPoolQuantizedBatchNormWithGlobalNormalizationQuantizedBiasAddQuantizedConcatQuantizedConv2DQuantizedConv2DAndReluQuantizedConv2DAndReluAndRequantizeQuantizedConv2DAndRequantizeQuantizedConv2DPerChannelQuantizedConv2DWithBiasQuantizedConv2DWithBiasAndReluQuantizedConv2DWithBiasAndReluAndRequantizeQuantizedConv2DWithBiasAndRequantizeQuantizedConv2DWithBiasSignedSumAndReluAndRequantizeQuantizedConv2DWithBiasSumAndReluQuantizedConv2DWithBiasSumAndReluAndRequantizeQuantizedDepthwiseConv2DQuantizedDepthwiseConv2DWithBiasQuantizedDepthwiseConv2DWithBiasAndReluQuantizedDepthwiseConv2DWithBiasAndReluAndRequantizeQuantizedInstanceNormQuantizedMatMulQuantizedMatMulWithBiasQuantizedMatMulWithBiasAndDequantizeQuantizedMatMulWithBiasAndReluQuantizedMatMulWithBiasAndReluAndRequantizeQuantizedMatMulWithBiasAndRequantizeQuantizedMaxPoolQuantizedMulQuantizedReluQuantizedRelu6QuantizedReluXQuantizedReshapeQuantizedResizeBilinearQueueCloseQueueCloseV2QueueDequeueQueueDequeueManyQueueDequeueManyV2QueueDequeueUpToQueueDequeueUpToV2QueueDequeueV2QueueEnqueueQueueEnqueueManyQueueEnqueueManyV2QueueEnqueueV2QueueIsClosedQueueIsClosedV2QueueSizeQueueSizeV2RFFTRFFT2DRFFT3DRGBToHSVRaggedBincountRaggedCountSparseOutputRaggedCrossRaggedGatherRaggedRangeRaggedTensorFromVariantRaggedTensorToSparseRaggedTensorToTensorRaggedTensorToVariantRaggedTensorToVariantGradientRandomCropRandomDatasetRandomGammaRandomGammaGradRandomIndexShuffleRandomPoissonRandomPoissonV2RandomShuffleRandomShuffleQueueRandomShuffleQueueV2RandomStandardNormalRandomUniformRandomUniformIntRangeRangeDatasetRankReadFileReadVariableOpReadVariableXlaSplitNDReaderNumRecordsProducedReaderNumRecordsProducedV2ReaderNumWorkUnitsCompletedReaderNumWorkUnitsCompletedV2ReaderReadReaderReadUpToReaderReadUpToV2ReaderReadV2ReaderResetReaderResetV2ReaderRestoreStateReaderRestoreStateV2ReaderSerializeStateReaderSerializeStateV2RealRealDivRebatchDatasetRebatchDatasetV2ReciprocalReciprocalGradRecordInputRecvRecvTPUEmbeddingActivationsReduceDatasetReduceJoinRefEnterRefExitRefIdentityRefMergeRefNextIterationRefSelectRefSwitchRegexFullMatchRegexReplaceRegisterDatasetRegisterDatasetV2ReluRelu6Relu6GradReluGradRemoteCallRepeatDatasetRequantizationRangeRequantizationRangePerChannelRequantizeRequantizePerChannelReshapeResizeAreaResizeBicubicResizeBicubicGradResizeBilinearResizeBilinearGradResizeNearestNeighborResizeNearestNeighborGradResourceAccumulatorApplyGradientResourceAccumulatorNumAccumulatedResourceAccumulatorSetGlobalStepResourceAccumulatorTakeGradientResourceApplyAdaMaxResourceApplyAdadeltaResourceApplyAdagradResourceApplyAdagradDAResourceApplyAdagradV2ResourceApplyAdamResourceApplyAdamWithAmsgradResourceApplyAddSignResourceApplyCenteredRMSPropResourceApplyFtrlResourceApplyFtrlV2ResourceApplyGradientDescentResourceApplyKerasMomentumResourceApplyMomentumResourceApplyPowerSignResourceApplyProximalAdagradResourceApplyProximalGradientDescentResourceApplyRMSPropResourceConditionalAccumulatorResourceCountUpToResourceGatherResourceGatherNdResourceScatterAddResourceScatterDivResourceScatterMaxResourceScatterMinResourceScatterMulResourceScatterNdAddResourceScatterNdMaxResourceScatterNdMinResourceScatterNdSubResourceScatterNdUpdateResourceScatterSubResourceScatterUpdateResourceSparseApplyAdadeltaResourceSparseApplyAdagradResourceSparseApplyAdagradDAResourceSparseApplyAdagradV2ResourceSparseApplyCenteredRMSPropResourceSparseApplyFtrlResourceSparseApplyFtrlV2ResourceSparseApplyKerasMomentumResourceSparseApplyMomentumResourceSparseApplyProximalAdagradResourceSparseApplyProximalGradientDescentResourceSparseApplyRMSPropResourceStridedSliceAssignRestoreRestoreSliceRestoreV2RetrieveTPUEmbeddingADAMParametersRetrieveTPUEmbeddingAdadeltaParametersRetrieveTPUEmbeddingAdagradMomentumParametersRetrieveTPUEmbeddingAdagradParametersRetrieveTPUEmbeddingCenteredRMSPropParametersRetrieveTPUEmbeddingFTRLParametersRetrieveTPUEmbeddingFrequencyEstimatorParametersRetrieveTPUEmbeddingMDLAdagradLightParametersRetrieveTPUEmbeddingMomentumParametersRetrieveTPUEmbeddingProximalAdagradParametersRetrieveTPUEmbeddingProximalYogiParametersRetrieveTPUEmbeddingRMSPropParametersRetrieveTPUEmbeddingStochasticGradientDescentParametersReverseReverseSequenceReverseV2RewriteDatasetRightShiftRintRngReadAndSkipRngSkipRollRoundRsqrtRsqrtGradSampleDistortedBoundingBoxSampleDistortedBoundingBoxV2SamplingDatasetSaveSaveDatasetSaveDatasetV2SaveSlicesSaveV2ScalarSummaryScaleAndTranslateScaleAndTranslateGradScanDatasetScatterAddScatterDivScatterMaxScatterMinScatterMulScatterNdScatterNdAddScatterNdMaxScatterNdMinScatterNdNonAliasingAddScatterNdSubScatterNdUpdateScatterSubScatterUpdateSdcaFprintSdcaOptimizerSdcaOptimizerV2SdcaShrinkL1SegmentMaxSegmentMeanSegmentMinSegmentProdSegmentSumSelectSelectV2SelfAdjointEigSelfAdjointEigV2SeluSeluGradSendSendTPUEmbeddingGradientsSerializeIteratorSerializeManySparseSerializeSparseSerializeTensorSetSizeSetStatsAggregatorDatasetShapeShapeNShardDatasetShardedFilenameShardedFilespecShuffleAndRepeatDatasetShuffleAndRepeatDatasetV2ShuffleDatasetShuffleDatasetV2ShuffleDatasetV3ShutdownDistributedTPUSigmoidSigmoidGradSignSinSinhSizeSkipDatasetSleepDatasetSliceSlidingWindowDatasetSnapshotSnapshotDatasetSnapshotDatasetReaderSnapshotDatasetV2SnapshotNestedDatasetReaderSobolSampleSoftmaxSoftmaxCrossEntropyWithLogitsSoftplusSoftplusGradSoftsignSoftsignGradSpaceToBatchSpaceToBatchNDSpaceToDepthSparseAccumulatorApplyGradientSparseAccumulatorTakeGradientSparseAddSparseAddGradSparseApplyAdadeltaSparseApplyAdagradSparseApplyAdagradDASparseApplyAdagradV2SparseApplyCenteredRMSPropSparseApplyFtrlSparseApplyFtrlV2SparseApplyMomentumSparseApplyProximalAdagradSparseApplyProximalGradientDescentSparseApplyRMSPropSparseBincountSparseConcatSparseConditionalAccumulatorSparseCountSparseOutputSparseCrossSparseCrossHashedSparseCrossV2SparseDenseCwiseAddSparseDenseCwiseDivSparseDenseCwiseMulSparseFillEmptyRowsSparseFillEmptyRowsGradSparseMatMulSparseMatrixAddSparseMatrixMatMulSparseMatrixMulSparseMatrixNNZSparseMatrixOrderingAMDSparseMatrixSoftmaxSparseMatrixSoftmaxGradSparseMatrixSparseCholeskySparseMatrixSparseMatMulSparseMatrixTransposeSparseMatrixZerosSparseReduceMaxSparseReduceMaxSparseSparseReduceSumSparseReduceSumSparseSparseReorderSparseReshapeSparseSegmentMeanSparseSegmentMeanGradSparseSegmentMeanWithNumSegmentsSparseSegmentSqrtNSparseSegmentSqrtNGradSparseSegmentSqrtNWithNumSegmentsSparseSegmentSumSparseSegmentSumGradSparseSegmentSumWithNumSegmentsSparseSliceSparseSliceGradSparseSoftmaxSparseSoftmaxCrossEntropyWithLogitsSparseSparseMaximumSparseSparseMinimumSparseSplitSparseTensorDenseAddSparseTensorDenseMatMulSparseTensorSliceDatasetSparseTensorToCSRSparseMatrixSparseToDenseSparseToSparseSetOperationSpenceSplitSplitVSqlDatasetSqrtSqrtGradSquareSquaredDifferenceSqueezeStackStackCloseStackCloseV2StackPopStackPopV2StackPushStackPushV2StackV2StageStageClearStagePeekStageSizeStatefulPartitionedCallStatefulRandomBinomialStatefulStandardNormalStatefulStandardNormalV2StatefulTruncatedNormalStatefulUniformStatefulUniformFullIntStatefulUniformIntStatelessCaseStatelessIfStatelessMultinomialStatelessParameterizedTruncatedNormalStatelessRandomBinomialStatelessRandomGammaV2StatelessRandomGetAlgStatelessRandomGetKeyCounterStatelessRandomGetKeyCounterAlgStatelessRandomNormalStatelessRandomNormalV2StatelessRandomPoissonStatelessRandomUniformStatelessRandomUniformFullIntStatelessRandomUniformFullIntV2StatelessRandomUniformIntStatelessRandomUniformIntV2StatelessRandomUniformV2StatelessSampleDistortedBoundingBoxStatelessShuffleStatelessTruncatedNormalStatelessTruncatedNormalV2StatelessWhileStaticRegexFullMatchStaticRegexReplaceStatsAggregatorHandleStatsAggregatorHandleV2StatsAggregatorSetSummaryWriterStatsAggregatorSummaryStopGradientStridedSliceStridedSliceAssignStridedSliceGradStringFormatStringJoinStringLengthStringLowerStringNGramsStringSplitStringSplitV2StringStripStringToHashBucketStringToHashBucketFastStringToHashBucketStrongStringToNumberStringUpperSubSubstrSumSummaryWriterSvdSwitchSymbolicGradientTFRecordDatasetTFRecordReaderTFRecordReaderV2TPUCompilationResultTPUEmbeddingActivationsTPUOrdinalSelectorTPUPartitionedCallTPUPartitionedInputTPUPartitionedOutputTPUReplicateMetadataTPUReplicatedInputTPUReplicatedOutputTakeDatasetTakeManySparseFromTensorsMapTakeWhileDatasetTanTanhTanhGradTemporaryVariableTensorArrayTensorArrayCloseTensorArrayCloseV2TensorArrayCloseV3TensorArrayConcatTensorArrayConcatV2TensorArrayConcatV3TensorArrayGatherTensorArrayGatherV2TensorArrayGatherV3TensorArrayGradTensorArrayGradV2TensorArrayGradV3TensorArrayGradWithShapeTensorArrayPackTensorArrayReadTensorArrayReadV2TensorArrayReadV3TensorArrayScatterTensorArrayScatterV2TensorArrayScatterV3TensorArraySizeTensorArraySizeV2TensorArraySizeV3TensorArraySplitTensorArraySplitV2TensorArraySplitV3TensorArrayUnpackTensorArrayV2TensorArrayV3TensorArrayWriteTensorArrayWriteV2TensorArrayWriteV3TensorDatasetTensorListConcatTensorListConcatListsTensorListConcatV2TensorListElementShapeTensorListFromTensorTensorListGatherTensorListGetItemTensorListLengthTensorListPopBackTensorListPushBackTensorListPushBackBatchTensorListReserveTensorListResizeTensorListScatterTensorListScatterIntoExistingListTensorListScatterV2TensorListSetItemTensorListSplitTensorListStackTensorScatterAddTensorScatterMaxTensorScatterMinTensorScatterSubTensorScatterUpdateTensorSliceDatasetTensorStridedSliceUpdateTensorSummaryTensorSummaryV2TextLineDatasetTextLineReaderTextLineReaderV2ThreadPoolDatasetThreadPoolHandleThreadUnsafeUnigramCandidateSamplerTileTileGradTimestampToBoolTopKTopKV2TransposeTridiagonalMatMulTridiagonalSolveTruncateDivTruncateModTruncatedNormalUnbatchUnbatchDatasetUnbatchGradUncompressElementUnicodeDecodeUnicodeDecodeWithOffsetsUnicodeEncodeUnicodeScriptUnicodeTranscodeUniformCandidateSamplerUniformDequantizeUniformQuantizeUniformQuantizedClipByValueUniformQuantizedDotUniformQuantizedDotHybridUniformRequantizeUniqueUniqueDatasetUniqueV2UniqueWithCountsUniqueWithCountsV2UnpackUnravelIndexUnsortedSegmentJoinUnsortedSegmentMaxUnsortedSegmentMinUnsortedSegmentProdUnsortedSegmentSumUnstageUnwrapDatasetVariantUpperBoundVarHandleOpVarIsInitializedOpVariableVariableShapeVariableV2WhereWhileWholeFileReaderWholeFileReaderV2WindowDatasetWindowOpWorkerHeartbeatWrapDatasetVariantWriteAudioSummaryWriteFileWriteGraphSummaryWriteHistogramSummaryWriteImageSummaryWriteRawProtoSummaryWriteScalarSummaryWriteSummaryXdivyXlaConcatNDXlaSplitNDXlog1pyXlogyZerosLikeZetaZipDataset tf.saved_model OverviewAssetLoadOptionsSaveOptionscontains_saved_modelloadsave experimental OverviewTrackableResourceVariablePolicy tf.sets Overviewdifferenceintersectionsizeunion tf.signal Overviewdctfftfft2dfft3dfftshiftframehamming_windowhann_windowidctifftifft2difft3difftshiftinverse_mdctinverse_stftinverse_stft_window_fnirfftirfft2dirfft3dkaiser_bessel_derived_windowkaiser_windowlinear_to_mel_weight_matrixmdctmfccs_from_log_mel_spectrogramsoverlap_and_addrfftrfft2drfft3dstftvorbis_window tf.sparse OverviewSparseTensoraddbincountconcatcrosscross_hashedexpand_dimseyefill_empty_rowsfrom_densemap_valuesmaskmaximumminimumreduce_maxreduce_sumreorderreset_shapereshaperetainsegment_meansegment_sqrt_nsegment_sumslicesoftmaxsparse_dense_matmulsplitto_denseto_indicatortranspose tf.strings Overviewas_stringbytes_splitformatjoinlengthlowerngramsreduce_joinregex_full_matchregex_replacesplitstripsubstrto_hash_bucketto_hash_bucket_fastto_hash_bucket_strongto_numberunicode_decodeunicode_decode_with_offsetsunicode_encodeunicode_scriptunicode_splitunicode_split_with_offsetsunicode_transcodeunsorted_segment_joinupper tf.summary OverviewSummaryWriteraudiocreate_file_writercreate_noop_writerflushgraphhistogramimagerecord_ifscalarshould_record_summariestexttrace_exporttrace_offtrace_onwrite tf.sysconfig Overviewget_build_infoget_compile_flagsget_includeget_libget_link_flags tf.test OverviewBenchmarkTestCaseTestCase.failureExceptionassert_equal_graph_defbenchmark_configcompute_gradientcreate_local_clusterdisable_with_predicategpu_device_nameis_built_with_cudais_built_with_gpu_supportis_built_with_rocmis_built_with_xlais_gpu_availablemainwith_eager_op_as_function tf.tpu OverviewXLAOptions experimental OverviewDeviceAssignmentHardwareFeatureHardwareFeature.EmbeddingFeatureTPUSystemMetadataTopologyinitialize_tpu_systemshutdown_tpu_system embedding OverviewAdagradAdagradMomentumAdamFTRLFeatureConfigQuantizationConfigSGDTPUEmbeddingTPUEmbeddingForServingTPUEmbeddingV0TableConfigserving_embedding_lookup tf.train OverviewBytesListCheckpointCheckpointManagerCheckpointOptionsCheckpointViewClusterDefClusterSpecCoordinatorExampleExponentialMovingAverageFeatureFeatureListFeatureListsFeatureLists.FeatureListEntryFeaturesFeatures.FeatureEntryFloatListInt64ListJobDefJobDef.TasksEntrySequenceExampleServerDefTrackableViewcheckpoints_iteratorget_checkpoint_statelatest_checkpointlist_variablesload_checkpointload_variable experimental OverviewPythonState tf.types Overview experimental OverviewCallableConcreteFunctionGenericFunctionSupportsTracingProtocolTensorLikeTraceTypeTracingContext distributed OverviewMirroredPerReplica tf.version Overview tf.xla Overview experimental Overviewcompilejit_scope Introduction TensorFlow ForJavaScript ForMobile&Edge ForProduction TensorFlow(v2.10.0) Versions… TensorFlow.js TensorFlowLite TFX Models&datasets Tools Libraries&extensions TensorFlowCertificateprogram LearnML ResponsibleAI Join Blog Forum↗ Groups Contribute About Casestudies TensorFlow API TensorFlowv2.10.0 Python tf.keras.losses.Huber Stayorganizedwithcollections Saveandcategorizecontentbasedonyourpreferences. SeeStable SeeNightly TensorFlow1version ViewsourceonGitHub ComputestheHuberlossbetweeny_trueandy_pred. InheritsFrom:Loss Viewaliases Mainaliases tf.losses.Huber Compataliasesformigration See Migrationguidefor moredetails. tf.compat.v1.keras.losses.Huber tf.keras.losses.Huber( delta=1.0, reduction=losses_utils.ReductionV2.AUTO, name='huber_loss' ) Usedinthenotebooks Usedinthetutorials PlayingCartPolewiththeActor-CriticMethod ParametrizedQuantumCircuitsforReinforcementLearning Foreachvaluexinerror=y_true-y_pred: loss=0.5*x^2if|x|<=d loss=0.5*d^2+d*(|x|-d)if|x|>d wheredisdelta.See:https://en.wikipedia.org/wiki/Huber_loss Standaloneusage: y_true=[[0,1],[0,0]] y_pred=[[0.6,0.4],[0.4,0.6]] #Using'auto'/'sum_over_batch_size'reductiontype. h=tf.keras.losses.Huber() h(y_true,y_pred).numpy() 0.155 #Callingwith'sample_weight'. h(y_true,y_pred,sample_weight=[1,0]).numpy() 0.09 #Using'sum'reductiontype. h=tf.keras.losses.Huber( reduction=tf.keras.losses.Reduction.SUM) h(y_true,y_pred).numpy() 0.31 #Using'none'reductiontype. h=tf.keras.losses.Huber( reduction=tf.keras.losses.Reduction.NONE) h(y_true,y_pred).numpy() array([0.18,0.13],dtype=float32) Usagewiththecompile()API: model.compile(optimizer='sgd',loss=tf.keras.losses.Huber()) Args delta Afloat,thepointwheretheHuberlossfunctionchangesfroma quadratictolinear. reduction Typeoftf.keras.losses.Reductiontoapplyto loss.DefaultvalueisAUTO.AUTOindicatesthatthereduction optionwillbedeterminedbytheusagecontext.Foralmostallcases thisdefaultstoSUM_OVER_BATCH_SIZE.Whenusedwith tf.distribute.Strategy,outsideofbuilt-intrainingloopssuchas tf.kerascompileandfit,usingAUTOor SUM_OVER_BATCH_SIZEwillraiseanerror.Pleaseseethiscustom trainingtutorialfor moredetails. name Optionalnamefortheinstance.Defaultsto'huber_loss'. Methods from_config Viewsource @classmethod from_config( config ) InstantiatesaLossfromitsconfig(outputofget_config()). Args config Outputofget_config(). Returns Akeras.losses.Lossinstance. get_config Viewsource get_config() ReturnstheconfigdictionaryforaLossinstance. __call__ Viewsource __call__( y_true,y_pred,sample_weight=None ) InvokestheLossinstance. Args y_true Groundtruthvalues.shape=[batch_size,d0,..dN],except sparselossfunctionssuchassparsecategoricalcrossentropywhere shape=[batch_size,d0,..dN-1] y_pred Thepredictedvalues.shape=[batch_size,d0,..dN] sample_weight Optionalsample_weightactsasacoefficientforthe loss.Ifascalarisprovided,thenthelossissimplyscaledbythe givenvalue.Ifsample_weightisatensorofsize[batch_size], thenthetotallossforeachsampleofthebatchisrescaledbythe correspondingelementinthesample_weightvector.Iftheshapeof sample_weightis[batch_size,d0,..dN-1](orcanbe broadcastedtothisshape),theneachlosselementofy_predis scaledbythecorrespondingvalueofsample_weight.(Note ondN-1:alllossfunctionsreduceby1dimension,usually axis=-1.) Returns WeightedlossfloatTensor.IfreductionisNONE,thishas shape[batch_size,d0,..dN-1];otherwise,itisscalar.(Note dN-1becausealllossfunctionsreduceby1dimension,usually axis=-1.) Raises ValueError Iftheshapeofsample_weightisinvalid. Exceptasotherwisenoted,thecontentofthispageislicensedundertheCreativeCommonsAttribution4.0License,andcodesamplesarelicensedundertheApache2.0License.Fordetails,seetheGoogleDevelopersSitePolicies.JavaisaregisteredtrademarkofOracleand/oritsaffiliates.Somecontentislicensedunderthenumpylicense. Lastupdated2022-10-15UTC. [{ "type":"thumb-down", "id":"missingTheInformationINeed", "label":"MissingtheinformationIneed" },{ "type":"thumb-down", "id":"tooComplicatedTooManySteps", "label":"Toocomplicated/toomanysteps" },{ "type":"thumb-down", "id":"outOfDate", "label":"Outofdate" },{ "type":"thumb-down", "id":"samplesCodeIssue", "label":"Samples/codeissue" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Stayconnected Blog Forum GitHub Twitter YouTube Support Issuetracker Releasenotes StackOverflow Brandguidelines CiteTensorFlow Terms Privacy SignupfortheTensorFlownewsletter Subscribe English 中文–简体
延伸文章資訊
- 1Losses - Keras
Losses. The purpose of loss functions is to compute the quantity that a model ... cosine_similari...
- 2tf.keras.losses.Huber | TensorFlow v2.10.0
tf.keras.losses.Huber ; delta, A float, the point where the Huber loss function changes from a qu...
- 3machine-learning-articles/using-huber-loss-in-keras.md - GitHub
Summary and code example: Huber Loss with TensorFlow 2 and Keras ... Loss functions are used to c...
- 4keras-loss-functions/huber-loss.py at master - GitHub
Keras model demonstrating Huber loss. ''' from keras.datasets import boston_housing. from keras.m...
- 5treex.losses.huber
Computes the Huber loss between target and predictions. ... behavior](https://poets-ai.github.io/...