/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
H A D | package-info.java | 18 * These classes model the data that is collected by the caliper {@linkplain 25 package com.google.caliper.model
|
H A D | AllocationMeasurement.java | 17 package com.google.caliper.model;
|
H A D | ArbitraryMeasurement.java | 17 package com.google.caliper.model;
|
H A D | ExcludeFromJson.java | 17 package com.google.caliper.model;
|
H A D | Defaults.java | 17 package com.google.caliper.model; 24 * Default instances of non-model classes used by the Caliper model. These are present to facilitate
|
H A D | PersistentHashing.java | 17 package com.google.caliper.model;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
H A D | ModelLoader.java | 1 package com.bumptech.glide.load.model; 6 * A factory interface for translating an arbitrarily complex data model into a concrete data type that can be used 7 * by an {@link DataFetcher} to obtain the data for a resource represented by the model. 11 * 1. To translate a specific model into a data type that can be decoded into a resource. 13 * 2. To allow a model to be combined with the dimensions of the view to fetch a resource of a specific size. 23 * @param <T> The type of the model. 30 * Obtains an {@link DataFetcher} that can fetch the data required to decode the resource represented by this model. 34 * Note - If no valid data fetcher can be returned (for example if a model has a null URL), then it is 39 * @param model The model representin 45 getResourceFetcher(T model, int width, int height) argument [all...] |
H A D | FileLoader.java | 1 package com.bumptech.glide.load.model; 10 * A simple model loader for loading data from {@link File}s. 24 public DataFetcher<T> getResourceFetcher(File model, int width, int height) { argument 25 return uriLoader.getResourceFetcher(Uri.fromFile(model), width, height);
|
H A D | ResourceLoader.java | 1 package com.bumptech.glide.load.model; 11 * A model loader for handling Android resource files. Model must be an Android resource id in the package of the given 31 public DataFetcher<T> getResourceFetcher(Integer model, int width, int height) { argument 33 + resources.getResourcePackageName(model) + '/' 34 + resources.getResourceTypeName(model) + '/' 35 + resources.getResourceEntryName(model));
|
H A D | StringLoader.java | 1 package com.bumptech.glide.load.model; 10 * A model loader for handling certain string models. Handles paths, urls, and any uri string with a scheme handled by 23 public DataFetcher<T> getResourceFetcher(String model, int width, int height) { argument 25 if (model.startsWith("/")) { 26 uri = toFileUri(model); 28 uri = Uri.parse(model); 31 uri = toFileUri(model);
|
H A D | UrlLoader.java | 1 package com.bumptech.glide.load.model; 8 * A wrapper class that translates {@link java.net.URL} objects into {@link com.bumptech.glide.load.model.GlideUrl} 9 * objects and then uses the wrapped {@link com.bumptech.glide.load.model.ModelLoader} for 10 * {@link com.bumptech.glide.load.model.GlideUrl}s to load the data. 22 public DataFetcher<T> getResourceFetcher(URL model, int width, int height) { argument 23 return glideUrlLoader.getResourceFetcher(new GlideUrl(model), width, height);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/ |
H A D | FileDescriptorModelLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor; 5 import com.bumptech.glide.load.model.ModelLoader; 10 * @param <T> The type of the model that will be translated into an {@link java.io.File}.
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
H A D | StreamModelLoader.java | 1 package com.bumptech.glide.load.model.stream; 3 import com.bumptech.glide.load.model.ModelLoader; 10 * @param <T> The type of the model that will be translated into an {@link InputStream}.
|
/external/junit/src/main/java/org/junit/runners/model/ |
H A D | Statement.java | 1 package org.junit.runners.model;
|
/external/libtextclassifier/ |
H A D | zlib-utils_test.cc | 28 ModelT model; local 29 model.regex_model.reset(new RegexModelT); 30 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); 31 model.regex_model->patterns.back()->pattern = "this is a test pattern"; 32 model.regex_model->patterns.emplace_back(new RegexModel_::PatternT); 33 model.regex_model->patterns.back()->pattern = "this is a second test pattern"; 35 model.datetime_model.reset(new DatetimeModelT); 36 model.datetime_model->patterns.emplace_back(new DatetimeModelPatternT); 37 model.datetime_model->patterns.back()->regexes.emplace_back( 39 model [all...] |
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/ |
H A D | drop_im2col_arrays.cc | 16 #include "tensorflow/contrib/lite/toco/model.h" 22 bool DropIm2colArrays::Run(Model* model, std::size_t op_index) { argument 23 auto conv_it = model->operators.begin() + op_index; 35 model->EraseArray(conv_op->outputs[1]);
|
H A D | remove_final_dequantize_op.cc | 21 #include "tensorflow/contrib/lite/toco/model.h" 28 bool RemoveFinalDequantizeOp::Run(Model* model, std::size_t op_index) { argument 29 const auto dequantize_it = model->operators.begin() + op_index; 37 // one of the model's output arrays, as some intermediate array 40 if (CountOpsWithInput(*model, output)) { 44 // If one of the model's output arrays was actually the Dequantize op's 46 for (int i = 0; i < model->flags.output_arrays_size(); i++) { 47 if (output == model->flags.output_arrays(i)) { 48 model->flags.set_output_arrays(i, dequantize_op->inputs[0]); 54 model [all...] |
H A D | remove_tensorflow_identity.cc | 22 #include "tensorflow/contrib/lite/toco/model.h" 28 bool RemoveTensorFlowIdentity::Run(Model* model, std::size_t op_index) { argument 29 const auto passthru_it = model->operators.begin() + op_index; 35 return RemoveTrivialPassthroughOp(this, model, op_index);
|
H A D | remove_trivial_concatenation.cc | 22 #include "tensorflow/contrib/lite/toco/model.h" 28 bool RemoveTrivialConcatenation::Run(Model* model, std::size_t op_index) { argument 29 const auto concat_it = model->operators.begin() + op_index; 37 return RemoveTrivialPassthroughOp(this, model, op_index);
|
H A D | remove_unused_op.cc | 21 #include "tensorflow/contrib/lite/toco/model.h" 28 bool RemoveUnusedOp::Run(Model* model, std::size_t op_index) { argument 29 const auto it = model->operators.begin() + op_index; 33 // the model. We allow specifying an arbitrary input_array, 36 CHECK(model->HasArray(output)); 37 // If this output is provided as the model's input array, 39 if (IsInputArray(*model, output)) { 48 for (const auto& rnn_state : model->flags.rnn_states()) { 58 for (const string& output_array : model->flags.output_arrays()) { 63 for (const auto& rnn_state : model [all...] |
H A D | resolve_mean_attributes.cc | 21 #include "tensorflow/contrib/lite/toco/model.h" 27 bool ResolveMeanAttributes::Run(Model* model, std::size_t op_index) { argument 28 auto* mean_op = model->operators[op_index].get(); 37 if (!IsConstantParameterArray(*model, op->inputs[1])) return false; 39 const auto& indices_array = model->GetArray(op->inputs[1]);
|
H A D | resolve_squeeze_attributes.cc | 22 #include "tensorflow/contrib/lite/toco/model.h" 28 bool ResolveSqueezeAttributes::Run(Model* model, std::size_t op_index) { argument 29 auto* squeeze_op = model->operators[op_index].get(); 37 if (CountOpsWithInput(*model, squeeze_op->outputs[0]) == 1) { 38 const auto* next_op = GetOpWithInput(*model, squeeze_op->outputs[0]); 45 return RemoveTrivialPassthroughOp(this, model, op_index);
|
H A D | resolve_tensorflow_merge.cc | 21 #include "tensorflow/contrib/lite/toco/model.h" 27 bool ResolveTensorFlowMerge::Run(Model* model, std::size_t op_index) { argument 28 const auto merge_it = model->operators.begin() + op_index; 48 for (const auto& other_op : model->operators) { 58 model->EraseArray(merge_op->outputs[0]); 59 model->operators.erase(merge_it);
|
/external/tensorflow/tensorflow/contrib/lite/toco/ |
H A D | toco_tooling.h | 21 #include "tensorflow/contrib/lite/toco/model.h" 34 void Transform(const TocoFlags& toco_flags, Model* model); 39 void Export(const TocoFlags& toco_flags, const Model& model, 43 inline void Export(const TocoFlags& toco_flags, const Model& model, argument 45 Export(toco_flags, model, true, output_file_contents);
|
/external/tensorflow/tensorflow/contrib/lite/tools/ |
H A D | gen_op_registration.cc | 19 #include "tensorflow/contrib/lite/model.h" 31 void ReadOpsFromModel(const ::tflite::Model* model, argument 34 if (!model) return; 35 auto opcodes = model->operator_codes();
|