/external/tensorflow/tensorflow/core/kernels/data/ |
prefetch_dataset_op.cc | 19 #include "tensorflow/core/kernels/data/dataset.h" 43 *output = new Dataset(ctx, input, buffer_size); 47 class Dataset : public GraphDatasetBase { 49 Dataset(OpKernelContext* ctx, const DatasetBase* input, int64 buffer_size) 54 ~Dataset() override { input_->Unref(); } 69 string DebugString() override { return "PrefetchDatasetOp::Dataset"; } 84 class Iterator : public DatasetIterator<Dataset> { 87 : DatasetIterator<Dataset>(params), 88 input_impl_(params.dataset->input_->MakeIterator(params.prefix)) {} 121 "PrefetchDatasetOp::Dataset::Iterator::GetNext") [all...] |
group_by_window_dataset_op.cc | 21 #include "tensorflow/core/kernels/data/dataset.h" 89 *output = new Dataset( 96 class Dataset : public GraphDatasetBase { 98 Dataset(OpKernelContext* ctx, const DatasetBase* input, 119 ~Dataset() override { input_->Unref(); } 134 string DebugString() override { return "GroupByWindowDatasetOp::Dataset"; } 198 class Iterator : public DatasetIterator<Dataset> { 201 : DatasetIterator<Dataset>(params), 202 input_impl_(params.dataset->input_->MakeIterator(params.prefix)) {} 226 // Iterate through the input dataset until we get a ful [all...] |
/external/tensorflow/tensorflow/examples/learn/ |
boston.py | 14 """Example of DNNRegressor for Housing dataset.""" 30 # Load dataset 34 # Split dataset into train / test
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/datasets/ |
boston_housing.py | 15 """Boston housing price regression dataset. 29 """Loads the Boston Housing dataset. 32 path: path where to cache the dataset locally
|
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/ |
bucketing_test.py | 41 dataset_ops.Dataset.from_tensor_slices(components).map(lambda x: x * x) 69 dataset_ops.Dataset.from_tensor_slices(components).repeat(-1).apply( 90 dataset_ops.Dataset.from_tensor_slices(components).apply( 117 dataset_ops.Dataset.from_tensor_slices(components) 135 return dataset_ops.Dataset.zip(( 143 dataset_ops.Dataset.from_tensor_slices(components) 169 return dataset_ops.Dataset.from_tensor_slices(components).repeat(-1).apply( 203 return dataset_ops.Dataset.zip( 204 (dataset_ops.Dataset.from_tensors(bucket), 216 dataset_ops.Dataset.from_tensor_slices(math_ops.range(32)).map(_map_fn) [all...] |
sequence_dataset_op_test.py | 32 return dataset_ops.Dataset.from_tensor_slices(components).skip(count) 52 return dataset_ops.Dataset.from_tensor_slices(components).take(count) 74 return dataset_ops.Dataset.from_tensor_slices(components).take( 100 # Test repeat empty dataset
|
unique_dataset_op_test.py | 44 dataset = dataset_ops.Dataset.from_generator(lambda: current_test_case, 46 iterator = dataset.make_initializable_iterator() 88 return dataset_ops.Dataset.range(num_elements).map(
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
batch_dataset_op_test.py | 41 """Test an dataset that maps a TF function across its input elements.""" 55 dataset_ops.Dataset.from_tensor_slices(components).map(_map_fn) 117 iterator = dataset_ops.Dataset.range(10).map(_sparse).batch( 144 iterator = dataset_ops.Dataset.range(10).map(_sparse).batch( 174 iterator = dataset_ops.Dataset.range(10).map(_sparse).batch(5).batch( 200 dataset_ops.Dataset.from_generator( 218 dataset_ops.Dataset.from_tensor_slices(seq_lens) 282 dataset_ops.Dataset.from_tensor_slices(seq_lens).map(fill_tuple) 325 dataset = dataset_ops.Dataset.from_generator [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
DatasetFilteringTest.java | 91 // Only one dataset start with 'aa' 103 // No dataset start with 'aaa' 145 // Only one dataset start with 'aa' 157 // No dataset start with 'aaa' 202 // One dataset start with 'aa' and one with null value always shown 214 // No dataset start with 'aaa' and one with null value always shown 264 // Dataset presentations. 298 // Only one dataset start with 'aa' 310 // No dataset start with 'aaa' 320 // Dataset presentations [all...] |
/developers/build/prebuilts/gradle/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/ |
RecyclerViewFragment.kt | 38 private lateinit var dataset: Array<String> 45 // Initialize dataset, this data would usually come from a local content provider or 73 recyclerView.adapter = CustomAdapter(dataset) 130 dataset = Array(DATASET_COUNT, {i -> "This is element # $i"})
|
/developers/samples/android/ui/views/RecyclerView/kotlinApp/app/src/main/java/com/example/android/recyclerview/ |
RecyclerViewFragment.kt | 38 private lateinit var dataset: Array<String> 45 // Initialize dataset, this data would usually come from a local content provider or 73 recyclerView.adapter = CustomAdapter(dataset) 130 dataset = Array(DATASET_COUNT, {i -> "This is element # $i"})
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/mnist/ |
mnist_graph_test.py | 43 # Create a model, optimizer, and dataset as would be done 47 dataset = tf.data.Dataset.from_tensors((images, labels)) 51 (images, labels) = dataset.make_one_shot_iterator().get_next()
|
/external/tensorflow/tensorflow/contrib/kafka/python/ops/ |
kafka_dataset_ops.py | 15 """Kafka Dataset.""" 21 from tensorflow.python.data.ops.readers import Dataset 27 class KafkaDataset(Dataset): 28 """A Kafka Dataset that consumes the message.
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
BUILD | 15 ":dataset", 45 name = "dataset", 46 srcs = ["dataset.py"], 65 ":dataset",
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
decision_node_evaluator.h | 32 virtual int32 Decide(const std::unique_ptr<TensorDataSet>& dataset, 52 int32 Decide(const std::unique_ptr<TensorDataSet>& dataset, 70 int32 Decide(const std::unique_ptr<TensorDataSet>& dataset, 85 int32 Decide(const std::unique_ptr<TensorDataSet>& dataset,
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_FixedLengthRecordDataset.pbtxt | 36 summary: "Creates a dataset that emits the records from one or more binary files."
|
api_def_PaddedBatchDataset.pbtxt | 26 summary: "Creates a dataset that batches and pads `batch_size` elements from the input."
|
/external/tensorflow/tensorflow/docs_src/programmers_guide/ |
using_tpu.md | 9 * Are familiar with TensorFlow's `Estimator` and `Dataset` APIs 306 fixed size. The last batch of a finite `Dataset`, however, is typically smaller, 307 containing just the remaining elements. Since a `Dataset` does not know its own 308 length or finiteness, the standard @{tf.data.Dataset.batch$`batch`} method 313 >>> ds = tf.data.Dataset.from_tensors([0, 1, 2]) 321 @{tf.data.Dataset.apply$apply} @{tf.contrib.data.batch_and_drop_remainder} 326 >>> ds = tf.data.Dataset.from_tensors([0, 1, 2]) 335 method throws out any fractional batch at the end of the dataset. This is fine 336 for an infinitely repeating dataset being used for training, but could be a 345 Efficient use of the `tf.data.Dataset` API is critical when using a Clou [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/settings/ |
MyPreferences.java | 56 * Gets whether {@link Dataset}s should require authentication. 63 * Enables/disables authentication for individual autofill {@link Dataset}s.
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/ |
BasicService.java | 22 import android.service.autofill.Dataset; 88 Dataset.Builder dataset = new Dataset.Builder(); local 93 // We're simple - our dataset values are hardcoded as "hintN" (for example, 98 dataset.setValue(id, AutofillValue.forText(value), presentation); 100 response.addDataset(dataset.build()); 195 * Helper method to create a dataset presentation with the given text.
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
synthetic.py | 15 """Synthetic dataset generators.""" 23 from tensorflow.contrib.learn.python.learn.datasets.base import Dataset 44 Shuffled features and labels for 'circles' synthetic dataset of type 45 `base.Dataset` 93 return Dataset(data=X[indices], target=y[indices]) 118 Shuffled features and labels for 'spirals' synthetic dataset of type 119 `base.Dataset` 168 return Dataset(data=X[indices], target=y[indices])
|
/external/tensorflow/tensorflow/contrib/tpu/profiler/ |
trace_events.proto | 40 // The id of the device that this event occurred on. The full dataset should 44 // The id of the resource that this event occurred on. The full dataset should
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
HistogramChart.java | 66 final BarDataSet dataSet = new BarDataSet(new ArrayList<BarEntry>(), ""); 67 dataSet.setColor(ColorTemplate.MATERIAL_COLORS[i]); 68 dataSets.add(dataSet); 144 for (IBarDataSet dataSet : barChart.getBarData().getDataSets()) { 145 dataSet.clear(); 259 final IBarDataSet dataSet = barData.getDataSetByIndex(setNum); 260 dataSet.clear(); 262 dataSet.addEntry(new BarEntry(i, bins[setNum][i]));
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
RvArrayAdapter.java | 41 public RvArrayAdapter(String[] dataSet) { 42 mDataSet = dataSet;
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupListItem.java | 33 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, 38 mDataSet = dataSet;
|