Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dtensor_util.cc188 using TypeHelper = internal::TensorProtoHelper<T>; in CompressTensorContent() typedef
219 TypeHelper::AppendUninitialized(new_num_values, tensor); in CompressTensorContent()
233 TypeHelper::AddValues(begin, end, tensor); in CompressTensorContent()
238 TypeHelper::AddValue(static_cast<T>(c), tensor); in CompressTensorContent()
267 using TypeHelper = internal::TensorProtoHelper<T>; in CompressRepeatedField() typedef
273 const int64 num_proto_values = TypeHelper::NumValues(*tensor); in CompressRepeatedField()
278 const T last_value = TypeHelper::GetValue(num_proto_values - 1, *tensor); in CompressRepeatedField()
281 const T cur_value = TypeHelper::GetValue(i, *tensor); in CompressRepeatedField()
296 TypeHelper::Truncate(num_truncated_proto_values, tensor); in CompressRepeatedField()
299 TypeHelper::CopyValues(tmp.begin(), *tensor); in CompressRepeatedField()
[all …]
Dtensor_util.h287 using TypeHelper = internal::TensorProtoHelper<Type>;
288 tensor.set_dtype(TypeHelper::GetDataType());
290 TypeHelper::AddValues(values.begin(), values.end(), &tensor);
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/
DSameAsBound.java8 import com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper;
14 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isInferenceVar…
15 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isProperType;
63 variables.addAll(TypeHelper.usedInferenceVariables(s)); in usedInferenceVariables()
64 variables.addAll(TypeHelper.usedInferenceVariables(t)); in usedInferenceVariables()
DSubtypeOfBound.java11 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isInferenceVar…
12 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isProperType;
64 variables.addAll(TypeHelper.usedInferenceVariables(s)); in usedInferenceVariables()
65 variables.addAll(TypeHelper.usedInferenceVariables(t)); in usedInferenceVariables()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DExpressionCompatibleWithType.java21 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isCompatibleIn…
22 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isProperType;
121 …Pair<ResolvedType, Boolean> result = TypeHelper.groundTargetTypeOfLambda(lambdaExpr, T, typeSolver… in reduce()
123 MethodType targetFunctionType = TypeHelper.getFunctionType(TFirst); in reduce()
182 if (TypeHelper.isProperType(R)) { in reduce()
DTypeSubtypeOfType.java11 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isInferenceVar…
12 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isProperType;
DTypeCompatibleWithType.java10 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isCompatibleIn…
11 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isProperType;
DTypeSameAsType.java10 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isInferenceVar…
11 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isProperType;
DTypeContainedByType.java7 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isProperType;
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typeinference/bounds/
DSubtypeOfBoundTest.java17 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.isProperType;
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DTypeHelper.java25 public class TypeHelper { class
DBoundSet.java16 import static com.github.javaparser.symbolsolver.resolution.typeinference.TypeHelper.*;