| /external/tensorflow/tensorflow/core/common_runtime/ |
| rendezvous_util_test.cc | 33 // string -> Tensor<string> 34 Tensor V(const string& content) { 36 tensor.scalar<string>()() = content; 40 // Tensor<string> -> string 41 string V(const Tensor& tensor) { 44 return tensor.scalar<string>()(); 47 string MakeStringKey(const string& name) [all...] |
| step_stats_collector.h | 78 const std::unordered_map<string, const Graph*>& device_map); 82 void Save(const string& device, NodeExecStats* nt); 83 void Save(const string& device, NodeExecStatsWrapper* stats); 85 // Generates a string reporting the currently used memory based 90 string ReportAllocsOnResourceExhausted(const string& err); 108 std::unordered_map<string, NodeExecStatsVec> dev_stats_ GUARDED_BY(mu_);
|
| /external/tensorflow/tensorflow/core/debug/ |
| debug_grpc_testlib.h | 51 std::vector<string> debug_metadata_strings; 52 std::vector<string> encoded_graph_defs; 53 std::vector<string> device_names; 54 std::vector<string> node_names; 56 std::vector<string> debug_ops; 80 bool PollTillFirstRequestSucceeds(const string& server_url,
|
| /external/tensorflow/tensorflow/core/framework/ |
| op_def_builder.h | 22 #include <string> 61 // "string", "int", "float", "bool", "type", "shape", or "tensor" 64 // "{int32,int64}" or {realnumbertype,quantizedtype,string}" 67 // (meaning "string" with a restriction on valid values) 68 // "list(string)", ..., "list(tensor)", "list(numbertype)", ... 71 // "list(string) >= 2", "list(int) >= 2" 72 // (meaning "list(string)" / "list(int)" with length at least 2) 80 // extra arguments to Attr() instead of encoding them in the spec string. 96 // <type> is either one of "float", "int32", "string", ... 156 std::vector<string> attrs_ [all...] |
| rendezvous.h | 19 #include <string> 56 static string CreateKey(const string& src_device, uint64 src_incarnation, 57 const string& dst_device, const string& name, 80 string buf_;
|
| /external/tensorflow/tensorflow/core/grappler/optimizers/ |
| arithmetic_optimizer.h | 40 string name() const override { return "arithmetic_optimizer"; }; 51 string OptimizedNodeName(const NodeDef& node, StringPiece suffix) const; 62 NodeDef* AddNode(const string& name, const NodeDef* node_to_copy); 75 const string& source_for_ctrl_dep, 83 // tensor (e.g. "split:1") or an emtpy string if no simplification is 96 string TrySimplifyAndReplaceUses(const NodeDef* node, 102 std::unordered_set<string> nodes_to_preserve_;
|
| /external/tensorflow/tensorflow/core/kernels/hexagon/ |
| hexagon_rewriter_transform.cc | 48 std::vector<std::pair<string, Tensor>> inputs; 49 std::vector<string> outputs; 51 const string& input_name = context.input_names.at(i); 54 string shape_string; 61 string data_type_string; 75 for (const string& output_name : context.output_names) {
|
| hexagon_rewriter_transform_test.cc | 67 context.params.insert(std::pair<string, std::vector<string>>( 68 {"input_shape0", {string("1,1,1,1")}})); 69 context.params.insert(std::pair<string, std::vector<string>>( 70 {"input_type0", {string("float")}}));
|
| /external/tensorflow/tensorflow/core/kernels/ |
| record_yielder.h | 21 #include <string> 51 // string val; 62 string file_pattern; 82 string compression_type; 93 Status YieldOne(string* value); 119 std::vector<string> buf_ GUARDED_BY(mu_); 155 bool Add(std::vector<string>* values);
|
| summary_tensor_op_test.cc | 40 const string& expected_str) { 65 AddInputFromArray<string>(TensorShape({}), {"tag_foo"}); 66 AddInputFromArray<string>(TensorShape({}), {"some string tensor content"}); 74 AddInputFromArray<string>(TensorShape({}), 83 ParseProtoUnlimited(&summary, out_tensor->scalar<string>()()); 89 ASSERT_EQ("some string tensor content", 90 string_content_tensor.scalar<string>()());
|
| /external/tensorflow/tensorflow/core/platform/default/ |
| stacktrace.h | 29 #include <string.h> 34 #include <string> 40 inline std::string CurrentStackTrace() { 59 std::string demangled = tensorflow::port::MaybeAbiDemangle(symbol); 70 return std::string(); 75 reinterpret_cast<std::string*>(arg)->append(data);
|
| /external/tensorflow/tensorflow/core/platform/posix/ |
| subprocess.h | 22 #include <string> 61 virtual void SetProgram(const string& file, const std::vector<string>& argv); 100 virtual int Communicate(const string* stdin_input, string* stdout_output, 101 string* stderr_output);
|
| /external/tensorflow/tensorflow/core/platform/ |
| tracing.cc | 20 #include <string> 32 std::map<string, int32>* Tracing::name_map_ = new std::map<string, int32>; 51 bool Tracing::ParseEventMask(const char* flagname, const string& value) { 54 std::vector<string> events = 56 for (string name : events) {
|
| /external/tensorflow/tensorflow/core/profiler/internal/ |
| tfprof_op.h | 25 #include <string> 56 const std::vector<string>& regexes); 66 string FormatNode(OpNode* node, OpNode* root, const Options& opts) const; 67 string FormatMemoryNode(int64 node_total_bytes, int64 root_total_bytes, 71 std::map<string, std::unique_ptr<OpNode>> cnodes_map_; 72 std::map<string, std::unique_ptr<TFMultiGraphNode>> tfcnodes_map_;
|
| tfprof_scope.h | 25 #include <string> 54 ScopeNode* CreateParentNode(const string& name); 57 const std::vector<string>& regexes); 66 void Format(const std::vector<ScopeNode*> roots, string* display_str, 71 std::map<string, std::unique_ptr<TFGraphNode>> parent_nodes_; 72 std::map<string, std::unique_ptr<ScopeNode>> nodes_map_;
|
| tfprof_timeline_test.cc | 38 string graph_path = 47 string run_meta_path = 64 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); 72 string dump_str; 78 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); 86 string dump_str;
|
| /external/tensorflow/tensorflow/core/protobuf/ |
| worker.proto | 59 string session_handle = 1; 82 string session_handle = 1; 104 string session_handle = 1; 126 string graph_handle = 1; 145 string session_handle = 2; 149 string graph_handle = 1; 170 repeated string container = 1; 201 string session_handle = 8; 205 string graph_handle = 1; 223 repeated string recv_key = 4 [all...] |
| /external/tensorflow/tensorflow/core/util/ |
| command_line_flags_test.cc | 28 const std::vector<string> &strings) { 31 for (const string &string : strings) { 32 result.push_back(const_cast<char *>(string.c_str())); 45 string some_name_set_directly = "something_a"; 46 string some_name_set_via_hook = "something_b"; 49 std::vector<string> argv_strings = {"program_name", 92 [&](string value) { 124 std::vector<string> argv_strings = {"program_name", "--some_int=notanumber"}; 137 std::vector<string> argv_strings = {"program_name", "--some_switch=notabool"} [all...] |
| stat_summarizer_test.cc | 32 const std::string graph_def_str(R"EOF( 77 const std::string output = stats.GetOutputString(); 78 const std::string by_node_type = stats.GetStatsByNodeType(); 81 ASSERT_TRUE(output.find("Const") != std::string::npos) << output; 82 ASSERT_TRUE(output.find("myconstant") != std::string::npos) << output; 84 ASSERT_TRUE(by_node_type.find("Const") != std::string::npos) << by_node_type;
|
| /external/tensorflow/tensorflow/go/ |
| util_test.go | 19 func Placeholder(g *Graph, name string, dt DataType) (Output, error) { 23 Attrs: map[string]interface{}{ 30 func Const(g *Graph, name string, value interface{}) (Output, error) { 41 Attrs: map[string]interface{}{ 49 func Neg(g *Graph, name string, port Output) (Output, error) { 58 func Add(g *Graph, name string, x, y Output) (Output, error) {
|
| /external/tensorflow/tensorflow/stream_executor/ |
| blas.cc | 24 string TransposeString(Transpose t) { 37 string UpperLowerString(UpperLower ul) { 48 string DiagonalString(Diagonal d) { 59 string SideString(Side s) { 72 string AlgorithmConfig::ToString() const { return port::StrCat(algorithm_); } 74 string ComputationTypeString(ComputationType ty) {
|
| /external/v8/src/parsing/ |
| token.cc | 12 #define T(name, string, precedence) #name, 19 #define T(name, string, precedence) string, 32 #define T(name, string, precedence) length(string), 36 #define T(name, string, precedence) precedence,
|
| /external/webrtc/talk/app/webrtc/ |
| datachannelinterface.h | 34 #include <string> 60 std::string protocol; // This is set by the application and opaque to the 75 explicit DataBuffer(const std::string& text) 131 virtual std::string label() const = 0; 140 virtual std::string protocol() const { return std::string(); }
|
| jsepicecandidate.cc | 37 IceCandidateInterface* CreateIceCandidate(const std::string& sdp_mid, 39 const std::string& sdp, 49 JsepIceCandidate::JsepIceCandidate(const std::string& sdp_mid, 55 JsepIceCandidate::JsepIceCandidate(const std::string& sdp_mid, 66 bool JsepIceCandidate::Initialize(const std::string& sdp, SdpParseError* err) { 70 bool JsepIceCandidate::ToString(std::string* out) const {
|
| /external/webrtc/webrtc/base/ |
| autodetectproxy.h | 14 #include <string> 33 explicit AutoDetectProxy(const std::string& user_agent); 37 void set_server_url(const std::string& url) { 44 void set_auth_info(bool use_auth, const std::string& username, 77 std::string agent_; 78 std::string server_url_;
|