/external/tensorflow/tensorflow/compiler/xla/tests/ |
filecheck.cc | 1 /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. 16 #include "tensorflow/compiler/xla/tests/filecheck.h" 20 #include "tensorflow/compiler/xla/types.h" 21 #include "tensorflow/compiler/xla/util.h" 22 #include "tensorflow/core/lib/core/errors.h" 23 #include "tensorflow/core/lib/io/path.h" 24 #include "tensorflow/core/platform/env.h" 25 #include "tensorflow/core/platform/subprocess.h" 30 using tensorflow::io::JoinPath; 34 auto env = tensorflow::Env::Default() [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
text_literal_reader.h | 1 /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. 21 #include "tensorflow/compiler/xla/literal_util.h" 22 #include "tensorflow/compiler/xla/statusor.h" 23 #include "tensorflow/compiler/xla/types.h" 24 #include "tensorflow/compiler/xla/xla_data.pb.h" 25 #include "tensorflow/core/lib/core/stringpiece.h" 26 #include "tensorflow/core/platform/env.h" 27 #include "tensorflow/core/platform/macros.h" 45 tensorflow::StringPiece path); 49 explicit TextLiteralReader(tensorflow::RandomAccessFile* file) [all...] |
ptr_util.h | 1 /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. 19 // As this was moved to tensorflow/core/util, provide indirections here to 28 #include "tensorflow/core/util/ptr_util.h" 34 return tensorflow::WrapUnique<T>(ptr); 38 typename tensorflow::helper::MakeUniqueResult<T>::scalar MakeUnique( 40 return tensorflow::MakeUnique<T, Args...>(std::forward<Args>(args)...); 47 typename tensorflow::helper::MakeUniqueResult<T>::array MakeUnique(size_t n) { 48 return tensorflow::MakeUnique<T>(n);
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/models/ |
multiple_additive_trees.h | 1 // Copyright 2017 The TensorFlow Authors. All Rights Reserved. 20 #include "tensorflow/contrib/boosted_trees/lib/utils/batch_features.h" 21 #include "tensorflow/contrib/boosted_trees/proto/tree_config.pb.h" // NOLINT 22 #include "tensorflow/core/framework/tensor_types.h" 23 #include "tensorflow/core/lib/core/threadpool.h" 24 #include "tensorflow/core/platform/types.h" 26 namespace tensorflow { namespace 40 tensorflow::thread::ThreadPool* const worker_threads, 41 tensorflow::TTypes<float>::Matrix output_predictions); 46 } // namespace tensorflow [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
__init__.py | 1 # Copyright 2016 The TensorFlow Authors. All Rights Reserved. 16 """High level API for learning with TensorFlow.""" 23 from tensorflow.contrib.learn.python.learn import basic_session_run_hooks 24 from tensorflow.contrib.learn.python.learn import datasets 25 from tensorflow.contrib.learn.python.learn import estimators 26 from tensorflow.contrib.learn.python.learn import graph_actions 27 from tensorflow.contrib.learn.python.learn import learn_io as io 28 from tensorflow.contrib.learn.python.learn import models 29 from tensorflow.contrib.learn.python.learn import monitors 30 from tensorflow.contrib.learn.python.learn import op [all...] |
/external/tensorflow/tensorflow/contrib/makefile/ |
build_all_linux.sh | 2 # Copyright 2016 The TensorFlow Authors. All Rights Reserved. 16 # Downloads and builds all of TensorFlow's dependencies for Linux, and compiles 17 # the TensorFlow library itself. Supported on Ubuntu 14.04 and 16.04. 29 make -f tensorflow/contrib/makefile/Makefile clean 30 rm -rf tensorflow/contrib/makefile/downloads 33 tensorflow/contrib/makefile/download_dependencies.sh 37 HOST_NSYNC_LIB=`tensorflow/contrib/makefile/compile_nsync.sh` 42 tensorflow/contrib/makefile/compile_linux_protobuf.sh 44 # Build TensorFlow. 45 make -j"${JOB_COUNT}" -f tensorflow/contrib/makefile/Makefile [all...] |
rename_protobuf.sh | 3 # Copyright 2015 The TensorFlow Authors. All Rights Reserved. 18 # This script modifies the downloaded protobuf library and the TensorFlow source 22 # adopt TensorFlow, since otherwise the two libraries have duplicate function 24 # throughout the protobuf and TensorFlow code. 26 # whole application to protobuf v3 so there's no mismatch with TensorFlow. There 28 # protobuf or TensorFlow, or that it's a bulletproof solution for every 32 # tensorflow/contrib/makefile/download_dependencies.sh 33 # tensorflow/contrib/makefile/rename_protobuf.sh 36 # tensorflow/contrib/makefile/compile_ios_protobuf.sh 37 # tensorflow/contrib/makefile/compile_ios_tensorflow.s [all...] |
/external/tensorflow/tensorflow/contrib/opt/ |
__init__.py | 1 # Copyright 2016 The TensorFlow Authors. All Rights Reserved. 22 from tensorflow.contrib.opt.python.training.addsign import * 23 from tensorflow.contrib.opt.python.training.drop_stale_gradient_optimizer import * 24 from tensorflow.contrib.opt.python.training.external_optimizer import * 25 from tensorflow.contrib.opt.python.training.lazy_adam_optimizer import * 26 from tensorflow.contrib.opt.python.training.moving_average_optimizer import * 27 from tensorflow.contrib.opt.python.training.multitask_optimizer_wrapper import * 28 from tensorflow.contrib.opt.python.training.nadam_optimizer import * 29 from tensorflow.contrib.opt.python.training.powersign import * 30 from tensorflow.contrib.opt.python.training.variable_clipping_optimizer import [all...] |
/external/tensorflow/tensorflow/contrib/util/ |
__init__.py | 1 # Copyright 2015 The TensorFlow Authors. All Rights Reserved. 33 from tensorflow.python.framework.meta_graph import ops_used_by_graph_def 34 from tensorflow.python.framework.meta_graph import stripped_op_list_for_graph 35 from tensorflow.python.framework.tensor_util import constant_value 36 from tensorflow.python.framework.tensor_util import make_tensor_proto 37 from tensorflow.python.framework.tensor_util import MakeNdarray as make_ndarray 39 from tensorflow.python.util.all_util import remove_undocumented
|
inspect_checkpoint.cc | 1 /* Copyright 2016 The TensorFlow Authors. All Rights Reserved. 16 #include "tensorflow/core/lib/core/errors.h" 17 #include "tensorflow/core/lib/gtl/array_slice.h" 18 #include "tensorflow/core/lib/strings/strcat.h" 19 #include "tensorflow/core/platform/init_main.h" 20 #include "tensorflow/core/util/tensor_slice_reader.h" 22 namespace tensorflow { namespace 26 tensorflow::checkpoint::TensorSliceReader reader( 27 in, tensorflow::checkpoint::OpenTableTensorSliceReader); 41 } // namespace tensorflow [all...] |
/external/tensorflow/tensorflow/go/ |
test.sh | 2 # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 17 # TensorFlow uses 'bazel' for builds and tests. 18 # The TensorFlow Go API aims to be usable with the 'go' tool 24 # go test github.com/tensorflow/tensorflow/tensorflow/go 41 # Setup a GOPATH that includes just the TensorFlow Go API. 43 mkdir -p "${GOPATH}/src/github.com/tensorflow" 44 ln -s "${PWD}" "${GOPATH}/src/github.com/tensorflow/tensorflow" [all...] |
/external/tensorflow/tensorflow/python/data/ |
__init__.py | 1 # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 31 from tensorflow.python.data.ops.dataset_ops import Dataset 32 from tensorflow.python.data.ops.iterator_ops import Iterator 33 from tensorflow.python.data.ops.readers import FixedLengthRecordDataset 34 from tensorflow.python.data.ops.readers import TextLineDataset 35 from tensorflow.python.data.ops.readers import TFRecordDataset 38 from tensorflow.python.util.all_util import remove_undocumented
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
str_util.h | 1 /* Copyright 2015 The TensorFlow Authors. All Rights Reserved. 19 #include "tensorflow/core/lib/strings/str_util.h" 20 #include "tensorflow/stream_executor/lib/stringpiece.h" 26 using tensorflow::str_util::Join; 27 using tensorflow::str_util::Split; 38 using tensorflow::str_util::Lowercase;
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
__init__.py | 1 # Copyright 2015 The TensorFlow Authors. All Rights Reserved. 21 from tensorflow.python.keras._impl.keras import activations 22 from tensorflow.python.keras._impl.keras import applications 23 from tensorflow.python.keras._impl.keras import backend 24 from tensorflow.python.keras._impl.keras import callbacks 25 from tensorflow.python.keras._impl.keras import constraints 26 from tensorflow.python.keras._impl.keras import datasets 27 from tensorflow.python.keras._impl.keras import engine 28 from tensorflow.python.keras._impl.keras import estimator 29 from tensorflow.python.keras._impl.keras import initializer [all...] |
/external/tensorflow/tensorflow/contrib/tensorrt/segment/ |
segment.cc | 1 /* Copyright 2018 The TensorFlow Authors. All Rights Reserved. 16 #include "tensorflow/contrib/tensorrt/segment/segment.h" 22 #include "tensorflow/contrib/tensorrt/segment/union_find.h" 23 #include "tensorflow/core/graph/algorithm.h" 24 #include "tensorflow/core/graph/graph.h" 25 #include "tensorflow/core/graph/graph_constructor.h" 26 #include "tensorflow/core/lib/core/errors.h" 27 #include "tensorflow/core/lib/core/status.h" 28 #include "tensorflow/core/platform/types.h" 30 namespace tensorflow { namespace [all...] |
/external/tensorflow/tensorflow/contrib/rnn/ |
__init__.py | 1 # Copyright 2016 The TensorFlow Authors. All Rights Reserved. 83 from tensorflow.contrib.rnn.python.ops.core_rnn_cell import EmbeddingWrapper 84 from tensorflow.contrib.rnn.python.ops.core_rnn_cell import InputProjectionWrapper 85 from tensorflow.contrib.rnn.python.ops.core_rnn_cell import OutputProjectionWrapper 87 from tensorflow.contrib.rnn.python.ops.fused_rnn_cell import * 88 from tensorflow.contrib.rnn.python.ops.gru_ops import * 89 from tensorflow.contrib.rnn.python.ops.lstm_ops import * 90 from tensorflow.contrib.rnn.python.ops.rnn import * 91 from tensorflow.contrib.rnn.python.ops.rnn_cell import * 93 from tensorflow.python.ops.rnn import _best_effort_input_batch_size as best_effort_input_batch_siz [all...] |
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/ |
__init__.py | 1 # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 52 from tensorflow.contrib.distributions.python.ops.bijectors.absolute_value import * 53 from tensorflow.contrib.distributions.python.ops.bijectors.affine import * 54 from tensorflow.contrib.distributions.python.ops.bijectors.affine_linear_operator import * 55 from tensorflow.contrib.distributions.python.ops.bijectors.chain import * 56 from tensorflow.contrib.distributions.python.ops.bijectors.cholesky_outer_product import * 57 from tensorflow.contrib.distributions.python.ops.bijectors.conditional_bijector import * 58 from tensorflow.contrib.distributions.python.ops.bijectors.exp import * 59 from tensorflow.contrib.distributions.python.ops.bijectors.gumbel import * 60 from tensorflow.contrib.distributions.python.ops.bijectors.inline import [all...] |
/external/tensorflow/tensorflow/contrib/keras/api/keras/layers/ |
__init__.py | 1 # Copyright 2016 The TensorFlow Authors. All Rights Reserved. 23 from tensorflow.python.keras._impl.keras.engine import Input 24 from tensorflow.python.keras._impl.keras.engine import InputLayer 25 from tensorflow.python.keras._impl.keras.engine import InputSpec 26 from tensorflow.python.keras._impl.keras.engine import Layer 29 from tensorflow.python.keras._impl.keras.layers.advanced_activations import LeakyReLU 30 from tensorflow.python.keras._impl.keras.layers.advanced_activations import PReLU 31 from tensorflow.python.keras._impl.keras.layers.advanced_activations import ELU 32 from tensorflow.python.keras._impl.keras.layers.advanced_activations import ThresholdedReLU 35 from tensorflow.python.keras._impl.keras.layers.convolutional import Conv1 [all...] |
/external/tensorflow/tensorflow/contrib/model_pruning/ |
__init__.py | 1 # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 15 """Model pruning implementation in tensorflow.""" 22 from tensorflow.contrib.model_pruning.python.layers.layers import masked_conv2d 23 from tensorflow.contrib.model_pruning.python.layers.layers import masked_convolution 24 from tensorflow.contrib.model_pruning.python.layers.layers import masked_fully_connected 25 from tensorflow.contrib.model_pruning.python.layers.rnn_cells import MaskedBasicLSTMCell 26 from tensorflow.contrib.model_pruning.python.layers.rnn_cells import MaskedLSTMCell 27 from tensorflow.contrib.model_pruning.python.learning import train 28 from tensorflow.contrib.model_pruning.python.pruning import apply_mask 29 from tensorflow.contrib.model_pruning.python.pruning import get_masked_weight [all...] |
/external/tensorflow/tensorflow/core/lib/core/ |
errors.h | 1 /* Copyright 2015 The TensorFlow Authors. All Rights Reserved. 19 #include "tensorflow/core/lib/core/status.h" 20 #include "tensorflow/core/lib/strings/strcat.h" 21 #include "tensorflow/core/platform/logging.h" 22 #include "tensorflow/core/platform/macros.h" 24 namespace tensorflow { namespace 27 typedef ::tensorflow::error::Code Code; 33 void AppendToMessage(::tensorflow::Status* status, Args... args) { 34 *status = ::tensorflow::Status( 36 ::tensorflow::strings::StrCat(status->error_message(), "\n\t", args...)) [all...] |
status.cc | 1 /* Copyright 2015 The TensorFlow Authors. All Rights Reserved. 16 #include "tensorflow/core/lib/core/status.h" 19 namespace tensorflow { namespace 21 Status::Status(tensorflow::error::Code code, StringPiece msg) { 22 assert(code != tensorflow::error::OK); 54 case tensorflow::error::CANCELLED: 57 case tensorflow::error::UNKNOWN: 60 case tensorflow::error::INVALID_ARGUMENT: 63 case tensorflow::error::DEADLINE_EXCEEDED: 66 case tensorflow::error::NOT_FOUND [all...] |
/external/tensorflow/tensorflow/contrib/ffmpeg/ |
__init__.py | 1 # Copyright 2015 The TensorFlow Authors. All Rights Reserved. 28 from tensorflow.contrib.ffmpeg.ffmpeg_ops import decode_audio 29 from tensorflow.contrib.ffmpeg.ffmpeg_ops import decode_video 30 from tensorflow.contrib.ffmpeg.ffmpeg_ops import encode_audio 31 from tensorflow.contrib.ffmpeg.ffmpeg_ops import decode_video 33 from tensorflow.python.util.all_util import remove_undocumented
|
/external/tensorflow/tensorflow/contrib/slim/ |
__init__.py | 1 # Copyright 2016 The TensorFlow Authors. All Rights Reserved. 26 from tensorflow.contrib import losses 27 from tensorflow.contrib import metrics 28 from tensorflow.contrib.framework.python.ops.arg_scope import * 29 from tensorflow.contrib.framework.python.ops.variables import * 30 from tensorflow.contrib.layers.python.layers import * 31 from tensorflow.contrib.layers.python.layers.initializers import * 32 from tensorflow.contrib.layers.python.layers.regularizers import * 33 from tensorflow.contrib.slim.python.slim import evaluation 34 from tensorflow.contrib.slim.python.slim import learnin [all...] |
/external/tensorflow/tensorflow/python/ops/ |
image_ops.py | 1 # Copyright 2015 The TensorFlow Authors. All Rights Reserved. 80 from tensorflow.python.ops.gen_image_ops import * 81 from tensorflow.python.ops.image_ops_impl import * 86 from tensorflow.python.ops.image_ops_impl import _Check3DImage 87 from tensorflow.python.ops.image_ops_impl import _ImageDimensions 90 from tensorflow.python.util.all_util import remove_undocumented
|
/external/tensorflow/tensorflow/contrib/bayesflow/ |
__init__.py | 1 # Copyright 2016 The TensorFlow Authors. All Rights Reserved. 17 ## This package provides classes for Bayesian computation with TensorFlow. 24 from tensorflow.contrib.bayesflow.python.ops import csiszar_divergence 25 from tensorflow.contrib.bayesflow.python.ops import custom_grad 26 from tensorflow.contrib.bayesflow.python.ops import halton_sequence 27 from tensorflow.contrib.bayesflow.python.ops import hmc 28 from tensorflow.contrib.bayesflow.python.ops import layers 29 from tensorflow.contrib.bayesflow.python.ops import mcmc_diagnostics 30 from tensorflow.contrib.bayesflow.python.ops import metropolis_hastings 31 from tensorflow.contrib.bayesflow.python.ops import monte_carl [all...] |