/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
weighted_quantiles_stream.h | 41 // - Maintain an in-memory multi-level quantile summary in a way to guarantee 46 // a summary to b + 1 elements guaranteeing epsNew = epsOld + 1/b. 47 // - b * sizeof(summary entry) must ideally be small enough to fit in an 69 using Summary = WeightedQuantilesSummary<ValueType, WeightType, CompareFn>; 70 using SummaryEntry = typename Summary::SummaryEntry; 97 // and push weighted quantile summary up the level chain. 108 // Create local compressed summary and propagate. 114 // Pushes full summary while maintaining approximation error invariants. 115 void PushSummary(const std::vector<SummaryEntry>& summary) { 119 // Create local compressed summary and propagate [all...] |
weighted_quantiles_summary_test.cc | 28 using Summary = 74 Summary summary; local 75 summary.BuildFromBufferEntries(buffer1_->GenerateEntryList()); 78 EXPECT_EQ(summary.ApproximationError(), 0); 80 // Check first and last elements in the summary. 81 const auto& entries = summary.GetEntryList(); 83 EXPECT_EQ(summary.MinValue(), buffer1_min_value_); 86 EXPECT_EQ(summary.MaxValue(), buffer1_max_value_); 89 EXPECT_EQ(summary.TotalWeight(), buffer1_total_weight_) 95 Summary summary; local 112 Summary summary; local 146 Summary summary; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
summary_op.cc | 26 #include "tensorflow/core/framework/summary.pb.h" 52 Summary s; 54 Summary::Value* v = s.add_value(); 93 errors::InvalidArgument("Nan in summary histogram for: ", name())); 97 "Infinity in summary histogram for: ", name())); 103 Summary s; 104 Summary::Value* v = s.add_value(); 128 return "A histogram summary. Stats ..."; 137 Summary s; 144 Summary summary_in [all...] |
summary_audio_op.cc | 22 #include "tensorflow/core/framework/summary.pb.h" 62 Summary s; 65 Summary::Value* v = s.add_value(); 72 Summary::Audio* sa = v->mutable_audio();
|
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/ |
Summary.java | 29 * Implementation of the {@link Distribution} as a summary of observations. 38 public abstract class Summary { 39 Summary() {} 42 * Creates a {@link Summary}. 47 * @return a {@code Summary} with the given values. 50 public static Summary create(@Nullable Long count, @Nullable Double sum, Snapshot snapshot) { 83 * Represents the summary observation of the recorded events over a sliding time window.
|
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/ |
trainer_hooks.py | 25 from tensorflow.core.framework.summary_pb2 import Summary 70 del run_context # Unused by feature importance summary saver hook. 80 del run_context # Unused by feature importance summary saver hook. 111 # Output summary for each feature. 117 usage_count_summary = Summary(value=[ 118 Summary.Value( 121 usage_fraction_summary = Summary(value=[ 122 Summary.Value( 128 gains_summary = Summary(value=[ 129 Summary.Value(tag="feature_importance/gains", simple_value=gain [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/ |
weighted_quantiles_summary_test.cc | 29 using Summary = 75 Summary summary; local 76 summary.BuildFromBufferEntries(buffer1_->GenerateEntryList()); 79 EXPECT_EQ(summary.ApproximationError(), 0); 81 // Check first and last elements in the summary. 82 const auto& entries = summary.GetEntryList(); 84 EXPECT_EQ(summary.MinValue(), buffer1_min_value_); 87 EXPECT_EQ(summary.MaxValue(), buffer1_max_value_); 90 EXPECT_EQ(summary.TotalWeight(), buffer1_total_weight_) 96 Summary summary; local 113 Summary summary; local 147 Summary summary; local [all...] |
/external/llvm/lib/Transforms/IPO/ |
FunctionImport.cpp | 1 //===- FunctionImport.cpp - ThinLTO Summary-based Function Import ---------===// 91 // Return true if the Summary describes a GlobalValue that can be externally 94 static bool canBeExternallyReferenced(const GlobalValueSummary &Summary) { 95 if (!Summary.needsRenaming()) 98 if (Summary.hasSection()) 124 // Return true if the global described by \p Summary can be imported in another 127 const GlobalValueSummary &Summary) { 128 if (!canBeExternallyReferenced(Summary)) 137 llvm::all_of(Summary.refs(), [&](const ValueInfo &VI) { 143 if (auto *FuncSummary = dyn_cast<FunctionSummary>(&Summary)) { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
ModuleSummaryIndex.cpp | 1 //===-- ModuleSummaryIndex.cpp - Module Summary Index ---------------------===// 10 // This file implements the module index and summary classes for the 28 [](const std::unique_ptr<GlobalValueSummary> &Summary) { 29 return Summary->isDSOLocal(); 34 // (GUID -> Summary). 40 auto *Summary = dyn_cast_or_null<FunctionSummary>(GlobSummary.get()); 41 if (!Summary) 45 if (Summary->modulePath() != ModulePath) 47 GVSummaryMap[GUID] = Summary; 52 // Collect for each module the list of function it defines (GUID -> Summary) [all...] |
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
stats_dataset_test_base.py | 36 summary_proto = summary_pb2.Summary() 41 self.fail("Expected tag %r not found in summary %r" % (tag, summary_proto)) 48 summary_proto = summary_pb2.Summary() 57 self.fail("Expected tag %r not found in summary %r" % (tag, summary_proto)) 60 summary_proto = summary_pb2.Summary() 67 self.fail("Expected tag %r not found in summary %r" % (tag, summary_proto)) 70 summary_proto = summary_pb2.Summary() 76 self.fail("Expected tag %r not found in summary %r" % (tag, summary_proto)) 79 summary_proto = summary_pb2.Summary() 85 self.fail("Expected tag %r not found in summary %r" % (tag, summary_proto) [all...] |
/external/llvm/lib/ProfileData/ |
SampleProfWriter.cpp | 141 encodeULEB128(Summary->getTotalCount(), OS); 142 encodeULEB128(Summary->getMaxCount(), OS); 143 encodeULEB128(Summary->getMaxFunctionCount(), OS); 144 encodeULEB128(Summary->getNumCounts(), OS); 145 encodeULEB128(Summary->getNumFunctions(), OS); 146 std::vector<ProfileSummaryEntry> &Entries = Summary->getDetailedSummary(); 263 Summary = Builder.getSummary();
|
InstrProfWriter.cpp | 197 static void setSummary(IndexedInstrProf::Summary *TheSummary, 201 TheSummary->NumSummaryFields = Summary::NumKinds; 203 TheSummary->set(Summary::MaxFunctionCount, PS.getMaxFunctionCount()); 204 TheSummary->set(Summary::MaxBlockCount, PS.getMaxCount()); 205 TheSummary->set(Summary::MaxInternalBlockCount, PS.getMaxInternalCount()); 206 TheSummary->set(Summary::TotalBlockCount, PS.getTotalCount()); 207 TheSummary->set(Summary::TotalNumBlocks, PS.getNumCounts()); 208 TheSummary->set(Summary::TotalNumFunctions, PS.getNumFunctions()); 246 // Reserve space to write profile summary data. 248 uint32_t SummarySize = Summary::getSize(Summary::NumKinds, NumEntries) [all...] |
/external/llvm/include/llvm/IR/ |
ModuleSummaryIndex.h | 1 //===-- llvm/ModuleSummaryIndex.h - Module Summary Index --------*- C++ -*-===// 12 /// hold the module index and summary for function importing. 85 /// \brief Function and variable summary information to aid decisions and 100 /// types based on global summary-based analysis. 114 /// Kind of summary for use in dyn_cast<> et al. 126 /// parsing the per-module index for creation of the combined summary index, 150 /// Initialize the original name hash in this summary. 153 /// Which kind of summary subclass this is. 171 /// Sets the linkage to the value determined by global summary-based 177 /// Return true if this summary is for a GlobalValue that needs promotio [all...] |
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/export/ |
InProcessRunningSpanStoreImpl.java | 50 public Summary getSummary() { 61 Summary summary = Summary.create(perSpanNameSummary); local 62 return summary;
|
/external/tensorflow/tensorflow/core/summary/ |
summary_converter.cc | 15 #include "tensorflow/core/summary/summary_converter.h" 18 #include "tensorflow/core/framework/summary.pb.h" 67 // Add the sequence of images specified by ith_image to the summary. 75 const std::function<Uint8Image(int)>& ith_image, Summary* s) { 78 Summary::Value* v = s->add_value(); 92 Summary::Image* si = v->mutable_image(); 182 Summary* s) { 207 Summary* s) { 208 Summary::Value* v = s->add_value(); 217 Summary* s) [all...] |
/external/libexif/ |
libexif.spec | 2 Summary: EXIF tag library 20 Summary: The files needed for libexif application development
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/export/ |
NoopRunningSpanStoreTest.java | 39 RunningSpanStore.Summary summary = runningSpanStore.getSummary(); local 40 assertThat(summary.getPerSpanNameSummary()).isEmpty();
|
/external/speex/ |
SpeexDSP.spec | 5 Summary: An open-source, patent-free speech codec 25 Summary: Speex development files
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
stats_aggregator_ops.cc | 21 #include "tensorflow/core/framework/summary.pb.h" 61 void EncodeToProto(Summary* out_summary) override { 67 Summary::Value* value = out_summary->add_value(); 73 Summary::Value* value = out_summary->add_value(); 138 Summary summary; variable 139 resource->stats_aggregator()->EncodeToProto(&summary); variable 140 summary_t->scalar<string>()() = summary.SerializeAsString();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
InstrProfWriter.cpp | 233 static void setSummary(IndexedInstrProf::Summary *TheSummary, 238 TheSummary->NumSummaryFields = Summary::NumKinds; 240 TheSummary->set(Summary::MaxFunctionCount, PS.getMaxFunctionCount()); 241 TheSummary->set(Summary::MaxBlockCount, PS.getMaxCount()); 242 TheSummary->set(Summary::MaxInternalBlockCount, PS.getMaxInternalCount()); 243 TheSummary->set(Summary::TotalBlockCount, PS.getTotalCount()); 244 TheSummary->set(Summary::TotalNumBlocks, PS.getNumCounts()); 245 TheSummary->set(Summary::TotalNumFunctions, PS.getNumFunctions()); 284 // Reserve space to write profile summary data. 286 uint32_t SummarySize = Summary::getSize(Summary::NumKinds, NumEntries) [all...] |
/external/tensorflow/tensorflow/python/summary/ |
summary_test.py | 15 """Tests for the API surface of the V1 tf.summary ops. 17 These tests don't check the actual serialized proto summary value for the 37 from tensorflow.python.summary import summary as summary_lib 49 summary = summary_pb2.Summary() 50 summary.ParseFromString(summary_str) 51 values = summary.value 66 summary = summary_pb2.Summary() [all...] |
/external/tensorflow/tensorflow/python/client/ |
events_writer_test.py | 42 summary=summary_pb2.Summary( 43 value=[summary_pb2.Summary.Value( 63 summary { value { tag: 'foo' simple_value: 89.0 } }
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/export/ |
SampledSpanStore.java | 64 * Returns the summary of all available data, such as number of sampled spans in the latency based 70 * @return the summary of all available data. 73 public abstract Summary getSummary(); 137 * The summary of all available data. 143 public abstract static class Summary { 145 Summary() {} 148 * Returns a new instance of {@code Summary}. 150 * @param perSpanNameSummary a map with summary for each span name. 151 * @return a new instance of {@code Summary}. 155 public static Summary create(Map<String, PerSpanNameSummary> perSpanNameSummary) [all...] |
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
ValueTest.java | 27 import io.opencensus.metrics.export.Summary.Snapshot; 28 import io.opencensus.metrics.export.Summary.Snapshot.ValueAtPercentile; 53 private static final Summary SUMMARY = 54 Summary.create( 83 Value value = Value.summaryValue(SUMMARY); 85 assertThat(((ValueSummary) value).getValue()).isEqualTo(SUMMARY); 114 ValueSummary.create(SUMMARY)); 158 new Function<Summary, Object>() { 160 public Object apply(Summary arg) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
ModuleSummaryAnalysis.cpp | 1 //===- ModuleSummaryAnalysis.cpp - Module summary index builder -----------===// 60 #define DEBUG_TYPE "module-summary-analysis" 67 "force-summary-edges-cold", cl::Hidden, cl::location(ForceSummaryEdgesCold), 68 cl::desc("Force all edges in the function summary to cold"), 78 // to know when computing summary for global var, because if global variable 155 /// summary, do so via the non-constant reference arguments. 170 // Produce a summary from type.test intrinsics. We only summarize type.test 227 // Summary not currently supported for anonymous functions, they should 300 // an alias summary will be created to associate the alias and 405 assert(AliaseeSummary && "Alias expects aliasee summary to be parsed") [all...] |