Home
last modified time | relevance | path

Searched refs:Activation (Results 1 – 25 of 70) sorted by relevance

123

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/mock_cel/
Dactivation.h42 class Activation : public BaseActivation {
44 Activation() = default;
47 Activation(const Activation&) = delete;
48 Activation& operator=(const Activation&) = delete;
/external/tensorflow/tensorflow/python/keras/applications/
Dxception.py152 x = layers.Activation('relu', name='block1_conv1_act')(x)
155 x = layers.Activation('relu', name='block1_conv2_act')(x)
164 x = layers.Activation('relu', name='block2_sepconv2_act')(x)
179 x = layers.Activation('relu', name='block3_sepconv1_act')(x)
183 x = layers.Activation('relu', name='block3_sepconv2_act')(x)
198 x = layers.Activation('relu', name='block4_sepconv1_act')(x)
202 x = layers.Activation('relu', name='block4_sepconv2_act')(x)
217 x = layers.Activation('relu', name=prefix + '_sepconv1_act')(x)
225 x = layers.Activation('relu', name=prefix + '_sepconv2_act')(x)
233 x = layers.Activation('relu', name=prefix + '_sepconv3_act')(x)
[all …]
Dresnet.py173 x = layers.Activation('relu', name='conv1_relu')(x)
183 x = layers.Activation('relu', name='post_relu')(x)
254 x = layers.Activation('relu', name=name + '_1_relu')(x)
260 x = layers.Activation('relu', name=name + '_2_relu')(x)
267 x = layers.Activation('relu', name=name + '_out')(x)
309 preact = layers.Activation('relu', name=name + '_preact_relu')(preact)
321 x = layers.Activation('relu', name=name + '_1_relu')(x)
332 x = layers.Activation('relu', name=name + '_2_relu')(x)
398 x = layers.Activation('relu', name=name + '_1_relu')(x)
416 x = layers.Activation('relu', name=name + '_2_relu')(x)
[all …]
Ddensenet.py88 x = layers.Activation('relu', name=name + '_relu')(x)
114 x1 = layers.Activation('relu', name=name + '_0_relu')(x1)
121 x1 = layers.Activation('relu', name=name + '_1_relu')(x1)
230 x = layers.Activation('relu', name='conv1/relu')(x)
243 x = layers.Activation('relu', name='relu')(x)
Dnasnet.py257 x = layers.Activation('relu')(x)
495 x = layers.Activation('relu')(ip)
518 x = layers.Activation('relu')(x)
564 p = layers.Activation('relu', name='adjust_relu_1_%s' % block_id)(p)
603 p = layers.Activation('relu')(p)
638 h = layers.Activation('relu')(ip)
717 h = layers.Activation('relu')(ip)
Defficientnet.py331 x = layers.Activation(activation, name='stem_activation')(x)
366 x = layers.Activation(activation, name='top_activation')(x)
456 x = layers.Activation(activation, name=name + 'expand_activation')(x)
476 x = layers.Activation(activation, name=name + 'activation')(x)
Dinception_resnet_v2.py291 x = layers.Activation(activation, name=ac_name)(x)
374 x = layers.Activation(activation, name=block_name + '_ac')(x)
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dattribute_exporter.cc62 llvm::Optional<mlir::lmhlo_gpu::Activation> activation = in ConvertConvActivationMode()
69 case mlir::lmhlo_gpu::Activation::None: in ConvertConvActivationMode()
71 case mlir::lmhlo_gpu::Activation::Sigmoid: in ConvertConvActivationMode()
73 case mlir::lmhlo_gpu::Activation::Tanh: in ConvertConvActivationMode()
75 case mlir::lmhlo_gpu::Activation::Relu: in ConvertConvActivationMode()
77 case mlir::lmhlo_gpu::Activation::Relu6: in ConvertConvActivationMode()
79 case mlir::lmhlo_gpu::Activation::ReluX: in ConvertConvActivationMode()
81 case mlir::lmhlo_gpu::Activation::BandPass: in ConvertConvActivationMode()
/external/tensorflow/tensorflow/python/keras/benchmarks/keras_examples_benchmarks/
Dcifar10_cnn_benchmark_test.py42 model.add(tf.keras.layers.Activation('relu'))
44 model.add(tf.keras.layers.Activation('relu'))
49 model.add(tf.keras.layers.Activation('relu'))
51 model.add(tf.keras.layers.Activation('relu'))
57 model.add(tf.keras.layers.Activation('relu'))
60 model.add(tf.keras.layers.Activation('softmax'))
Dreuters_mlp_benchmark_test.py48 model.add(tf.keras.layers.Activation('relu'))
51 model.add(tf.keras.layers.Activation('softmax'))
/external/tensorflow/tensorflow/python/keras/wrappers/
Dscikit_learn_test.py40 model.add(keras.layers.Activation('relu'))
42 model.add(keras.layers.Activation('relu'))
44 model.add(keras.layers.Activation('softmax'))
76 model.add(keras.layers.Activation('relu'))
78 model.add(keras.layers.Activation('relu'))
80 model.add(keras.layers.Activation('linear'))
/external/tensorflow/tensorflow/core/kernels/
Dfused_batch_norm_op.cu.cc361 using Activation = FusedBatchNormActivationMode; in operator ()() typedef
362 const bool no_activation = activation_mode == Activation::kIdentity; in operator ()()
363 const bool relu_activation = activation_mode == Activation::kRelu; in operator ()()
369 LAUNCH(FORMAT_NHWC, false, Activation::kIdentity, c, 1); in operator ()()
371 LAUNCH(FORMAT_NHWC, false, Activation::kRelu, c, 1); in operator ()()
373 LAUNCH(FORMAT_NHWC, true, Activation::kIdentity, c, 1); in operator ()()
375 LAUNCH(FORMAT_NHWC, true, Activation::kRelu, c, 1); in operator ()()
383 LAUNCH(FORMAT_NCHW, false, Activation::kIdentity, c, inner); in operator ()()
385 LAUNCH(FORMAT_NCHW, false, Activation::kRelu, c, inner); in operator ()()
387 LAUNCH(FORMAT_NCHW, true, Activation::kIdentity, c, inner); in operator ()()
[all …]
Dfused_eigen_output_kernels.h202 template <typename T, typename Activation = Identity>
221 output = Activation::template apply<decltype(expr)>(expr); in operator()
259 template <typename T, typename Activation = Identity>
290 output = Activation::template apply<decltype(shifted)>(shifted);
/external/tensorflow/tensorflow/compiler/xla/g3doc/tutorials/
Dautoclustering_xla.ipynb107 " tf.keras.layers.Activation('relu'),\n",
109 " tf.keras.layers.Activation('relu'),\n",
114 " tf.keras.layers.Activation('relu'),\n",
116 " tf.keras.layers.Activation('relu'),\n",
122 " tf.keras.layers.Activation('relu'),\n",
125 " tf.keras.layers.Activation('softmax')\n",
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dlhlo_gpu_ops_enums.td29 def ActivationAttr : StrEnumAttr<"Activation",
30 "Activation applied with fused convolution",
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dbinary_elementwise_tester.cc348 builtin_options = CreateAddOptions(builder, Activation()).Union(); in CreateTfLiteModel()
352 builtin_options = CreateDivOptions(builder, Activation()).Union(); in CreateTfLiteModel()
356 builtin_options = CreateMulOptions(builder, Activation()).Union(); in CreateTfLiteModel()
360 builtin_options = CreateSubOptions(builder, Activation()).Union(); in CreateTfLiteModel()
363 EXPECT_EQ(Activation(), ActivationFunctionType_NONE); in CreateTfLiteModel()
Dfully_connected_tester.h101 inline ::tflite::ActivationFunctionType Activation() const { in Activation() function
Dbinary_elementwise_tester.h121 inline ::tflite::ActivationFunctionType Activation() const { in Activation() function
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_relu_op_test.cc46 static Graph* Activation(const string& op_name, const string& kind, in Activation() function
109 test::Benchmark(#type, Activation(#op, #kind, {A, B, C, D})).Run(iters); \
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Dauthorization_engine.cc93 std::unique_ptr<mock_cel::Activation> AuthorizationEngine::CreateActivation( in CreateActivation()
95 std::unique_ptr<mock_cel::Activation> activation; in CreateActivation()
Dauthorization_engine.h69 std::unique_ptr<mock_cel::Activation> CreateActivation(
/external/llvm-project/openmp/runtime/src/
Dompt-general.cpp233 #error Activation of OMPT is not supported on this platform.
258 #error Activation of OMPT is not supported on this platform.
309 #error Activation of OMPT is not supported on this platform.
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.layers.-activation.pbtxt1 path: "tensorflow.keras.layers.Activation"
3 is_instance: "<class \'tensorflow.python.keras.layers.core.Activation\'>"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.layers.-activation.pbtxt1 path: "tensorflow.keras.layers.Activation"
3 is_instance: "<class \'tensorflow.python.keras.layers.core.Activation\'>"
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc702 static StatusOr<mlir::lmhlo_gpu::Activation> GetLHLOActivation( in GetLHLOActivation()
706 return mlir::lmhlo_gpu::Activation::None; in GetLHLOActivation()
708 return mlir::lmhlo_gpu::Activation::Sigmoid; in GetLHLOActivation()
710 return mlir::lmhlo_gpu::Activation::Relu; in GetLHLOActivation()
712 return mlir::lmhlo_gpu::Activation::Relu6; in GetLHLOActivation()
714 return mlir::lmhlo_gpu::Activation::ReluX; in GetLHLOActivation()
716 return mlir::lmhlo_gpu::Activation::Tanh; in GetLHLOActivation()
718 return mlir::lmhlo_gpu::Activation::BandPass; in GetLHLOActivation()
795 TF_ASSIGN_OR_RETURN(mlir::lmhlo_gpu::Activation activation, in EmitDnnConvolution()

123