Home
last modified time | relevance | path

Searched refs:getTensor (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
DMLInlineAdvisor.cpp347 *ModelRunner->getTensor<int64_t>(FeatureIndex::CalleeBasicBlockCount) = in getAdviceImpl()
349 *ModelRunner->getTensor<int64_t>(FeatureIndex::CallSiteHeight) = in getAdviceImpl()
351 *ModelRunner->getTensor<int64_t>(FeatureIndex::NodeCount) = NodeCount; in getAdviceImpl()
352 *ModelRunner->getTensor<int64_t>(FeatureIndex::NrCtantParams) = NrCtantParams; in getAdviceImpl()
353 *ModelRunner->getTensor<int64_t>(FeatureIndex::EdgeCount) = EdgeCount; in getAdviceImpl()
354 *ModelRunner->getTensor<int64_t>(FeatureIndex::CallerUsers) = in getAdviceImpl()
356 *ModelRunner->getTensor<int64_t>( in getAdviceImpl()
359 *ModelRunner->getTensor<int64_t>(FeatureIndex::CallerBasicBlockCount) = in getAdviceImpl()
361 *ModelRunner->getTensor<int64_t>( in getAdviceImpl()
364 *ModelRunner->getTensor<int64_t>(FeatureIndex::CalleeUsers) = in getAdviceImpl()
[all …]
/external/tensorflow/tensorflow/tools/android/inference_interface/java/org/tensorflow/contrib/android/
DTensorFlowInferenceInterface.java488 getTensor(outputName).writeTo(dst); in fetch()
498 getTensor(outputName).writeTo(dst); in fetch()
508 getTensor(outputName).writeTo(dst); in fetch()
518 getTensor(outputName).writeTo(dst); in fetch()
528 getTensor(outputName).writeTo(dst); in fetch()
609 private Tensor<?> getTensor(String outputName) { in getTensor() method in TensorFlowInferenceInterface
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Analysis/
DMLModelRunner.h35 template <typename T, typename I> T *getTensor(I FeatureID) { in getTensor() function
40 template <typename T, typename I> const T *getTensor(I FeatureID) const { in getTensor() function
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
DMLRegallocPriorityAdvisor.cpp277 *Runner->getTensor<int64_t>(0) = static_cast<int64_t>(Size); in getPriorityImpl()
278 *Runner->getTensor<int64_t>(1) = static_cast<int64_t>(Stage); in getPriorityImpl()
279 *Runner->getTensor<float>(2) = static_cast<float>(LI.weight()); in getPriorityImpl()
DMLRegallocEvictAdvisor.cpp752 Runner->getTensor<float>(FeatureIndex)[Pos] /= Largest[FeatureIndex]; in tryFindEvictionCandidate()
755 *Runner->getTensor<float>(FeatureIDs::progress) = in tryFindEvictionCandidate()
897 Runner->getTensor<TYPE>(FeatureIDs::ID)[Pos] = static_cast<TYPE>(VAL); \ in extractFeatures()
990 RegallocRunner->getTensor<int64_t>(InstructionsIndex)[InstructionIndex] = in extractInstructionFeatures()
994 RegallocRunner->getTensor<int64_t>( in extractInstructionFeatures()
1012 RegallocRunner->getTensor<int64_t>( in extractInstructionFeatures()
1052 RegallocRunner->getTensor<float>(MBBFreqIndex)[CurrentMBBIndex] = in extractMBBFrequency()
1054 RegallocRunner->getTensor<int64_t>( in extractMBBFrequency()
/external/google-cloud-java/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/
DTimeSeriesDataPointOrBuilder.java84 com.google.cloud.aiplatform.v1.TensorboardTensor getTensor(); in getTensor() method
DTimeSeriesDataPoint.java197 public com.google.cloud.aiplatform.v1.TensorboardTensor getTensor() { in getTensor() method in TimeSeriesDataPoint
421 if (!getTensor().equals(other.getTensor())) return false; in equals()
453 hash = (53 * hash) + getTensor().hashCode(); in hashCode()
737 mergeTensor(other.getTensor()); in mergeFrom()
1077 public com.google.cloud.aiplatform.v1.TensorboardTensor getTensor() { in getTensor() method in TimeSeriesDataPoint.Builder
/external/google-cloud-java/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/
DTimeSeriesDataPointOrBuilder.java84 com.google.cloud.aiplatform.v1beta1.TensorboardTensor getTensor(); in getTensor() method
DTimeSeriesDataPoint.java197 public com.google.cloud.aiplatform.v1beta1.TensorboardTensor getTensor() { in getTensor() method in TimeSeriesDataPoint
421 if (!getTensor().equals(other.getTensor())) return false; in equals()
453 hash = (53 * hash) + getTensor().hashCode(); in hashCode()
739 mergeTensor(other.getTensor()); in mergeFrom()
1081 public com.google.cloud.aiplatform.v1beta1.TensorboardTensor getTensor() { in getTensor() method in TimeSeriesDataPoint.Builder
/external/pytorch/benchmarks/static_runtime/
Dtest_utils.h44 at::Tensor getTensor(const at::IValue& ival);
Dtest_static_module.cc499 auto output_1 = getTensor(mod.forward(inputs)); in TEST()
528 at::Tensor output_1 = getTensor(module.forward(inputs)); in TEST()
534 at::Tensor output_2 = getTensor(output_ivalue); in TEST()
568 at::Tensor output_1 = getTensor(module.forward(args)); in TEST()
579 at::Tensor output_2 = getTensor(output_ivalue); in TEST()
649 auto output_1 = getTensor(mod.forward(inputs)); in TEST()
891 auto output_1 = getTensor(module.forward(inputs)); in TEST()
903 auto output_2 = getTensor(module.forward(inputs)); in TEST()
Dtest_utils.cc206 at::Tensor getTensor(const at::IValue& ival) { in getTensor() function
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/lhlo/transforms/
Dlegalize_to_tensor_op.cc50 extract.getTensor().getDefiningOp<bufferization::ToTensorOp>(); in matchAndRewrite()
Dlhlo_fuse_linalg.cc112 auto alias = toMemref.getTensor(); in runOnOperation()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/
Dgpu_fusion_rewrite.cc292 storeOp.getTensor().getDefiningOp<bufferization::ToTensorOp>(); in annotateLaunchFunc()
336 return isRewritableType(op.getTensor().getType()) && in getRewritableTarget()
Dshape_simplification.cc158 auto broadcastOp = op.getTensor().getDefiningOp<BroadcastOp>(); in matchAndRewrite()
/external/pytorch/aten/src/ATen/
DTensorIterator.h113 const Tensor& getTensor() const;
198 return tensor_storage_.getTensor(); in tensor()
208 return original_tensor_storage_.getTensor(); in original_tensor()
DTensorIterator.cpp81 const Tensor& OpaqueOptionalTensorRef::getTensor() const { in getTensor() function in at::internal::OpaqueOptionalTensorRef
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/gml_st/transforms/
Dfusion.cc45 extract.getTensor().getDefiningOp()); in matchAndRewrite()
Dbufferize_tiled_loop.cc158 if (auto toTensor = toMemref.getTensor().getDefiningOp<ToTensorOp>()) { in findExistingSubview()
161 for (Operation *tensorUser : toMemref.getTensor().getUsers()) { in findExistingSubview()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Analysis/
Dshape_component_analysis.cc579 ShapeOrValueInfo::getValueInfoOf(op.getTensor())); in backwardTensorExtract()
588 auto in = lookup(ShapeOrValueInfo::getValueInfoOf(op.getTensor())); in forwardTensorExtract()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc1534 returned_values.push_back(store.getTensor()); in ProcessFusionForConversion()