Home
last modified time | relevance | path

Searched refs:activation_node (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder_helper.cc419 Node* activation_node; in MaybeFuseActivation() local
421 NewPassthroughNode(graph, node, outputs[0], &activation_node)); in MaybeFuseActivation()
422 activation_node->operation.type = ToString(OperationType::RELU); in MaybeFuseActivation()
423 activation_node->operation.attributes = attr; in MaybeFuseActivation()
427 Node* activation_node; in MaybeFuseActivation() local
429 NewPassthroughNode(graph, node, outputs[0], &activation_node)); in MaybeFuseActivation()
430 activation_node->operation.type = ToString(OperationType::TANH); in MaybeFuseActivation()
434 Node* activation_node; in MaybeFuseActivation() local
436 NewPassthroughNode(graph, node, outputs[0], &activation_node)); in MaybeFuseActivation()
437 activation_node->operation.type = ToString(OperationType::SIGMOID); in MaybeFuseActivation()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dremapper.cc351 const NodeDef& activation_node = graph->node(matched.activation); in IsCpuCompatibleDataType() local
352 bool is_relu = IsRelu(activation_node); in IsCpuCompatibleDataType()