/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
decision_node_evaluator.cc | 61 const std::unique_ptr<TensorDataSet>& dataset, int example) const { 62 const float val = dataset->GetExampleValue(example, feature_num_); 83 const std::unique_ptr<TensorDataSet>& dataset, int example) const { 87 dataset->GetExampleValue(example, feature_num_[i]); 108 const std::unique_ptr<TensorDataSet>& dataset, int example) const { 109 const float val = dataset->GetExampleValue(example, feature_num_);
|
grow_stats_test.cc | 56 std::unique_ptr<tensorflow::tensorforest::TensorDataSet> dataset( 60 stats->AddSplit(MakeSplit("0", 10.0), dataset, target, 0); 61 stats->AddSplit(MakeSplit("1", 4.0), dataset, target, 0); 64 stats->AddExample(dataset, target, i); 180 std::unique_ptr<tensorflow::tensorforest::TensorDataSet> dataset( 191 stat->AddExample(dataset, target.get(), 0); 198 stat->AddExample(dataset, target.get(), 0); 225 std::unique_ptr<tensorflow::tensorforest::TensorDataSet> dataset( 231 stats.AddSplit(MakeSplit("0", 0.0), dataset, &target, 0); 232 stats.AddSplit(MakeSplit("1", 0.0), dataset, &target, 0) [all...] |
/external/tensorflow/tensorflow/core/kernels/data/ |
map_and_batch_dataset_op.cc | 21 #include "tensorflow/core/kernels/data/dataset.h" 73 *output = new Dataset(input, batch_size, num_parallel_batches, 79 class Dataset : public DatasetBase { 81 Dataset(const DatasetBase* input, int64 batch_size, 96 ~Dataset() override { input_->Unref(); } 112 string DebugString() override { return "MapAndBatchDatasetOp::Dataset"; } 115 class Iterator : public DatasetIterator<Dataset> { 118 : DatasetIterator<Dataset>(params), 119 input_impl_(params.dataset->input_->MakeIterator(params.prefix)), 120 invocation_results_(params.dataset->batch_size_ [all...] |
unique_dataset_op.cc | 17 #include "tensorflow/core/kernels/data/dataset.h" 46 *output = new Dataset(ctx, input); 50 class Dataset : public GraphDatasetBase { 52 Dataset(OpKernelContext* ctx, const DatasetBase* input) 57 ~Dataset() override { input_->Unref(); } 74 return strings::StrCat("UniqueDatasetOp::Dataset"); 87 class Iterator : public DatasetIterator<Dataset> { 90 : DatasetIterator<Dataset>(params), 91 input_impl_(params.dataset->input_->MakeIterator(params.prefix)) {}
|
shuffle_dataset_op.cc | 21 #include "tensorflow/core/kernels/data/dataset.h" 41 // Abstract base dataset that implements a shuffling iterator. 75 buffer_.reset(new std::vector<Tensor>[params.dataset->buffer_size_]); 88 input_impl_ = dataset()->input_->MakeIterator(prefix()); 90 while (input_impl_ && num_elements_ < dataset()->buffer_size_) { 95 << num_elements_ << " of " << dataset()->buffer_size_; 99 while (dataset()->count_ == -1 || epoch_ < dataset()->count_) { 106 if (first_call && dataset()->count_ == -1) { 117 input_impl_ = dataset()->input_->MakeIterator(prefix()) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
AccountWithDataSet.java | 34 public AccountWithDataSet(String accountName, String accountType, String dataSet) { 37 mDataSet = emptyToNull(dataSet); 44 public static AccountWithDataSet get(String accountName, String accountType, String dataSet) { 45 return new AccountWithDataSet(accountName, accountType, dataSet); 48 public static AccountWithDataSet get(Account account, String dataSet) { 89 return "AccountWithDataSet {name=" + mAccountName + ", type=" + mAccountType + ", dataSet="
|
/external/tensorflow/tensorflow/core/framework/ |
dataset.h | 71 // Wrapper around GraphDefBuilder. Used to serialize Dataset graph. 122 Status AddDataset(const GraphDatasetBase* dataset, 124 return AddDataset(dataset, inputs, {}, output); 135 Status AddDataset(const GraphDatasetBase* dataset, 143 return AddDataset(dataset, enumerated_inputs, {}, attrs, output); 147 const GraphDatasetBase* dataset, 181 // TODO(b/65524810): Hack to allow functions to capture Dataset op 199 // Uses a heuristic to whitelist source dataset ops which have been 204 return (StringPiece(op_def->name()).ends_with("Dataset") && 207 dataset::WhitelistedStatefulOpRegistry::Global()->Contains 488 const DatasetType* dataset; member in struct:tensorflow::DatasetIterator::Params 501 const DatasetType* dataset() const { return params_.dataset; } function in class:tensorflow::DatasetIterator [all...] |
dataset_stateful_op_whitelist.h | 22 namespace dataset { namespace in namespace:tensorflow 23 // Registry for stateful ops that need to be used in dataset functions. 50 } // namespace dataset 72 ::tensorflow::dataset::WhitelistedStatefulOpRegistry::Global()->Add( \
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
ManualAuthenticationActivity.java | 38 public static void setDataset(CannedFillResponse.CannedDataset dataset) { 39 sDataset = dataset; 61 throw new IllegalStateException("no dataset or response");
|
/developers/build/prebuilts/gradle/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
PlanetAdapter.kt | 29 private val dataset: Array<String>, 52 textView.text = dataset[position] 57 override fun getItemCount() = dataset.size
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/ |
LocalAutofillDataSource.java | 20 import android.service.autofill.Dataset; 114 logw("More than 1 dataset with name %s", datasetName); 116 DatasetWithFilledAutofillFields dataset = autofillDatasetFields.get(0); 119 datasetsCallback.onLoaded(dataset) 205 DatasetWithFilledAutofillFields dataset = 208 callback.onLoaded(dataset); 242 * For simplicity, {@link Dataset}s will be named in the form {@code dataset-X.P} where 243 * {@code X} means this was the Xth group of datasets saved, and {@code P} refers to the dataset 251 * Every time a dataset is saved, this should be called to increment the dataset number [all...] |
/developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
PlanetAdapter.kt | 29 private val dataset: Array<String>, 52 textView.text = dataset[position] 57 override fun getItemCount() = dataset.size
|
/external/tensorflow/tensorflow/python/data/ |
__init__.py | 15 """`tf.data.Dataset` API for input pipelines. 19 @@Dataset 31 from tensorflow.python.data.ops.dataset_ops import Dataset
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/datasets/ |
mnist.py | 15 """MNIST handwritten digits dataset. 29 """Loads the MNIST dataset. 32 path: path where to cache the dataset locally
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/ |
FakeAutofillDataBuilder.java | 47 "dataset-" + datasetNumber + "." + partition, mPackageName); 60 AutofillDataset dataset, int partition) { 63 datasetWithFilledAutofillFields.autofillDataset = dataset; 69 mSeed, dataset.getId());
|
ClientAutofillDataBuilder.java | 59 "dataset-" + datasetNumber + "." + partition, mPackageName); 60 DatasetWithFilledAutofillFields dataset = local 62 if (dataset != null && dataset.filledAutofillFields != null) { 63 listBuilder.add(dataset); 70 * Parses a client view structure and build a dataset (in the form of a 73 private DatasetWithFilledAutofillFields buildDatasetForPartition(AutofillDataset dataset, 77 datasetWithFilledAutofillFields.autofillDataset = dataset;
|
/external/protobuf/benchmarks/ |
generate_datasets.cc | 43 const char *file_prefix = "dataset."; 60 std::cerr << "For dataset " << name << ", no such message: " 69 std::cerr << "For dataset " << name << ", payload[" << i << "] fails " 75 BenchmarkDataset dataset; local 76 dataset.set_name(name); 77 dataset.set_message_name(message_name); 79 dataset.add_payload()->assign(payload[i]); 85 dataset.SerializeToOstream(&writer); 88 std::cerr << "Wrote dataset: " << fname << "\n";
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_FilterDataset.pbtxt | 16 summary: "Creates a dataset containing elements of `input_dataset` matching `predicate`."
|
api_def_TFRecordDataset.pbtxt | 24 summary: "Creates a dataset that emits the records from one or more TFRecord files."
|
api_def_TextLineDataset.pbtxt | 23 summary: "Creates a dataset that emits the lines of one or more text files."
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
cache_dataset_op_test.py | 54 repeat_dataset = (dataset_ops.Dataset.from_tensor_slices(components) 80 # Assert that the cached dataset has the same elements as the 122 cache_dataset1 = (dataset_ops.Dataset.from_tensor_slices(components) 124 cache_dataset2 = (dataset_ops.Dataset.from_tensor_slices(components) 152 cache_dataset1 = (dataset_ops.Dataset.from_tensor_slices(components) 154 cache_dataset2 = (dataset_ops.Dataset.from_tensor_slices(components) 208 dataset = dataset_ops.Dataset.range(3).flat_map( 209 lambda x: dataset_ops.Dataset.from_tensors(x).repeat(repeat_count)) 211 cached_dataset = dataset.cache().repeat(2 [all...] |
dataset_from_generator_op_test.py | 34 dataset_ops.Dataset.from_generator(generator, output_types=dtypes.int64) 52 dataset_ops.Dataset.from_generator(generator, output_types=dtypes.int64) 113 # invocations to several iterators created by the same dataset. 115 return (dataset_ops.Dataset.from_generator( 121 dataset_ops.Dataset.range(num_outer_repeats) 150 # the current implementation of `Dataset.interleave()` must 151 # fetch one element from each incoming dataset to start the 173 # `Dataset.interleave()` and `Dataset.prefetch()` to cause multiple 176 return dataset_ops.Dataset.from_generator [all...] |
/external/tensorflow/tensorflow/tools/api/golden/ |
tensorflow.keras.utils.-h-d-f5-matrix.pbtxt | 27 argspec: "args=[\'self\', \'datapath\', \'dataset\', \'start\', \'end\', \'normalizer\'], varargs=None, keywords=None, defaults=[\'0\', \'None\', \'None\'], "
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
AccountTypeProvider.java | 80 * a dataSet and accounts can declare extension packages in contacts.xml that provide additional 107 public boolean hasTypeWithDataset(String type, String dataSet) { 111 if (Objects.equal(accountType.dataSet, dataSet)) { 119 * Returns the AccountType with the matching type and dataSet or null if no account with those 122 public AccountType getType(String type, String dataSet) { 125 if (Objects.equal(accountType.dataSet, dataSet)) { 137 return getType(account.type, account.dataSet); 233 + accountType.accountType + ", dataSet=" + accountType.dataSe [all...] |
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
FillUi.java | 36 import android.service.autofill.Dataset; 37 import android.service.autofill.Dataset.DatasetFieldFilter; 85 void onDatasetPicked(@NonNull Dataset dataset); 296 final Dataset dataset = response.getDatasets().get(i); local 297 final int index = dataset.getFieldIds().indexOf(focusedViewId); 299 final RemoteViews presentation = dataset.getFieldPresentation(index); 302 + "service didn't provide a presentation for it on " + dataset); 314 final DatasetFieldFilter filter = dataset.getFilter(index) [all...] |