Home
last modified time | relevance | path

Searched refs:lhs_ty (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dtfr_gen.py800 def _emit_binary_op(self, op, lhs, lhs_ty, rhs, rhs_ty): argument
801 assert lhs_ty, rhs_ty
809 if lhs_ty == TFRTypes.I64:
811 elif lhs_ty == TFRTypes.F32:
818 '\n{} = {}{} {}, {} : {}'.format(ret, code, suffix, lhs, rhs, lhs_ty),
820 return ret, lhs_ty
823 lhs, lhs_ty = self.visit(node.target)
825 ret, ret_ty = self._emit_binary_op(node.op, lhs, lhs_ty, rhs, rhs_ty)
829 lhs, lhs_ty = self.visit(node.left)
831 return self._emit_binary_op(node.op, lhs, lhs_ty, rhs, rhs_ty)
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_n_z.cc3115 RankedTensorType lhs_ty = lhs.getType().dyn_cast<RankedTensorType>(); in inferReturnTypes() local
3117 if (!lhs_ty || !rhs_ty) return set_unranked_results(); in inferReturnTypes()
3119 int64_t lhs_rank = lhs_ty.getRank(); in inferReturnTypes()
3134 inferredReturnTypes.push_back(lhs_ty); in inferReturnTypes()
3140 RankedTensorType min_rank_ty = broadcast_lhs ? lhs_ty : rhs_ty; in inferReturnTypes()
3141 RankedTensorType max_rank_ty = broadcast_lhs ? rhs_ty : lhs_ty; in inferReturnTypes()
3167 RankedTensorType::get(broadcast_shape, lhs_ty.getElementType())); in inferReturnTypes()
3170 inferredReturnTypes.push_back(lhs_ty); in inferReturnTypes()
/external/rust/crates/syn/src/
Dgenerics.rs592 pub lhs_ty: Type,
1292 self.lhs_ty.to_tokens(tokens); in to_tokens()
/external/rust/crates/syn/tests/common/
Deq.rs338 spanless_eq_struct!(WhereEqPredicate; id span lhs_ty rhs_ty);
/external/rust/crates/syn/src/gen/
Dclone.rs1685 lhs_ty: self.lhs_ty.clone(), in clone()
Deq.rs1700 self.lhs_ty == other.lhs_ty && self.rhs_ty == other.rhs_ty in eq()
Dfold.rs2616 lhs_ty: f.fold_type(node.lhs_ty), in fold_predicate_eq()
Dhash.rs2153 self.lhs_ty.hash(state); in hash()
Ddebug.rs2307 formatter.field("lhs_ty", &self.lhs_ty); in fmt()
Dvisit_mut.rs3058 v.visit_type_mut(&mut node.lhs_ty); in visit_predicate_eq_mut()
Dvisit.rs3052 v.visit_type(&node.lhs_ty); in visit_predicate_eq()
/external/rust/crates/syn/tests/debug/
Dgen.rs4247 formatter.field("lhs_ty", Lite(&_val.lhs_ty)); in fmt()