Home
last modified time | relevance | path

Searched refs:is_variant (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dcompilability_check_util.h263 auto is_variant = [](DataType dtype) { return dtype == DT_VARIANT; }; in OpProducesOrConsumesVariant()
264 return absl::c_any_of(node.input_types(), is_variant) || in OpProducesOrConsumesVariant()
265 absl::c_any_of(node.output_types(), is_variant); in OpProducesOrConsumesVariant()
/external/rust/crates/serde_derive/src/
Dde.rs1902 is_variant: bool, in deserialize_generated_identifier()
1908 let (ignore_variant, fallthrough) = if !is_variant && cattrs.has_flatten() { in deserialize_generated_identifier()
1916 } else if is_variant || cattrs.deny_unknown_fields() { in deserialize_generated_identifier()
1927 is_variant, in deserialize_generated_identifier()
1930 !is_variant && cattrs.has_flatten(), in deserialize_generated_identifier()
1934 let lifetime = if !is_variant && cattrs.has_flatten() { in deserialize_generated_identifier()
1974 let is_variant = match cattrs.identifier() { in deserialize_custom_identifier() localVariable
2032 } else if is_variant { in deserialize_custom_identifier()
2050 is_variant, in deserialize_custom_identifier()
2082 is_variant: bool, in deserialize_identifier()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dcolocation_graph.cc790 auto is_variant = [](DataType dtype) -> bool { return dtype == DT_VARIANT; }; in AddHostOnlyDataTypesConstraints() local
798 if (absl::c_none_of(node->input_types(), is_variant)) continue; in AddHostOnlyDataTypesConstraints()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py810 is_variant = inp.t.dtype == dtypes.variant
813 if tile_variants and is_variant:
816 elif not tile_variants and is_variant: