Home
last modified time | relevance | path

Searched refs:backend_config (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dbackend_config_test.py33 keras.backend_config.set_epsilon(epsilon)
34 self.assertEqual(keras.backend_config.epsilon(), epsilon)
35 keras.backend_config.set_epsilon(1e-7)
36 self.assertEqual(keras.backend_config.epsilon(), 1e-7)
40 keras.backend_config.set_floatx(floatx)
41 self.assertEqual(keras.backend_config.floatx(), floatx)
42 keras.backend_config.set_floatx('float32')
43 self.assertEqual(keras.backend_config.floatx(), 'float32')
47 keras.backend_config.set_image_data_format(image_data_format)
48 self.assertEqual(keras.backend_config.image_data_format(),
[all …]
Dbackend.py47 from tensorflow.python.keras import backend_config
120 epsilon = backend_config.epsilon
121 floatx = backend_config.floatx
122 image_data_format = backend_config.image_data_format
123 set_epsilon = backend_config.set_epsilon
124 set_floatx = backend_config.set_floatx
125 set_image_data_format = backend_config.set_image_data_format
DBUILD86 ":backend_config",
127 name = "backend_config",
128 srcs = ["backend_config.py"],
/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_trip_count_annotator_test.cc61 ->backend_config<WhileLoopBackendConfig>()); in TEST_F()
97 ->backend_config<WhileLoopBackendConfig>()); in TEST_F()
133 ->backend_config<WhileLoopBackendConfig>()); in TEST_F()
169 ->backend_config<WhileLoopBackendConfig>()); in TEST_F()
Dhlo_parser_test.cc87 …"\"it\'s not a problem\n" source_file="path/to/test.cc" source_line=68}, backend_config="foo\" bar" in CreateTestCases()
122 ROOT %constant = f32[] constant(42), backend_config="this is a configuration" in CreateTestCases()
1698 %constant = s32[] constant(42), backend_config="foo bar" in CreateTestCases()
1905 …2,1,0} %filter), feature_group_count=1, sharding={maximal device=1}, backend_config="foo", dim_lab… in CreateTestCases()
Dhlo.proto170 string backend_config = 43; field
Dhlo_parser.cc680 optional<string> backend_config; in ParseInstructionRhs() local
682 &backend_config}; in ParseInstructionRhs()
1749 if (backend_config) { in ParseInstructionRhs()
1750 instruction->set_raw_backend_config_string(std::move(*backend_config)); in ParseInstructionRhs()
Dhlo_instruction.h1304 StatusOr<ConfigProto> backend_config() const { in backend_config() function
Dhlo_instruction.cc620 instruction->backend_config_ = proto.backend_config(); in CreateFromProto()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_conv_runner.cc326 TF_ASSIGN_OR_RETURN(CudnnConvBackendConfig backend_config, in GetCudnnConvParams()
327 conv->backend_config<CudnnConvBackendConfig>()); in GetCudnnConvParams()
338 backend_config.algorithm(), backend_config.tensor_ops_enabled())); in GetCudnnConvParams()
339 params.conv_result_scale = backend_config.conv_result_scale(); in GetCudnnConvParams()
373 if (!se::dnn::ActivationMode_IsValid(backend_config.activation_mode())) { in GetCudnnConvParams()
375 backend_config.ShortDebugString()); in GetCudnnConvParams()
378 backend_config.activation_mode()); in GetCudnnConvParams()
379 fusion.side_input_scale = backend_config.side_input_scale(); in GetCudnnConvParams()
Dcudnn_conv_algorithm_picker.cc225 TF_ASSIGN_OR_RETURN(auto backend_config, in PickBestAlgorithm()
226 instr->backend_config<CudnnConvBackendConfig>()); in PickBestAlgorithm()
383 TF_ASSIGN_OR_RETURN(CudnnConvBackendConfig backend_config, in RunOnInstruction()
384 instr->backend_config<CudnnConvBackendConfig>()); in RunOnInstruction()
385 backend_config.set_algorithm(best_algo.conv().algorithm()); in RunOnInstruction()
386 backend_config.set_tensor_ops_enabled(best_algo.conv().tensor_ops_enabled()); in RunOnInstruction()
394 TF_RETURN_IF_ERROR(new_call->set_backend_config(backend_config)); in RunOnInstruction()
Dbackend_configs.proto16 // See HloInstruction::backend_config() for more info.
Dcudnn_fused_conv_rewriter.cc231 conv->backend_config<CudnnConvBackendConfig>()); in TryRewriteToCudnnForwardRelu()
Dir_emitter_unnested.cc486 custom_call->backend_config<CholeskyOptions>()); in HandleCustomCall()
983 auto config = xla_while->backend_config<WhileLoopBackendConfig>(); in HandleWhile()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dhlo_test_base.cc345 string backend_config) { in Run() argument
375 if (!backend_config.empty()) { in Run()
379 instruction->set_raw_backend_config_string(backend_config); in Run()
394 std::vector<ExecutionProfile>* profiles, string backend_config) { in RunMultipleTimes() argument
429 if (!backend_config.empty()) { in RunMultipleTimes()
433 instruction->set_raw_backend_config_string(backend_config); in RunMultipleTimes()
Dhlo_test_base.h242 string backend_config = "") TF_MUST_USE_RESULT;
246 string backend_config = "") TF_MUST_USE_RESULT;
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dadadelta.py23 from tensorflow.python.keras import backend_config
96 epsilon = backend_config.epsilon()
Dadagrad.py24 from tensorflow.python.keras import backend_config
94 epsilon = backend_config.epsilon()
Dadamax.py22 from tensorflow.python.keras import backend_config
100 epsilon = backend_config.epsilon()
Dadam.py21 from tensorflow.python.keras import backend_config
134 epsilon = backend_config.epsilon()
Dnadam.py21 from tensorflow.python.keras import backend_config
97 epsilon = backend_config.epsilon()
Drmsprop.py23 from tensorflow.python.keras import backend_config
107 epsilon = backend_config.epsilon()
DBUILD39 "//tensorflow/python/keras:backend_config",