Home
last modified time | relevance | path

Searched refs:string_types (Results 1 – 25 of 140) sorted by relevance

123456

/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dio_ops.py21 from six import string_types
61 @tc.returns(tc.Dict(string_types, parsing_ops.FixedLenFeature))
62 @tc.accepts(tc.Mapping(string_types, FixedLenFeature))
79 @tc.returns(tc.Dict(string_types, core.LabeledTensor))
80 @tc.accepts(core.LabeledTensorLike, tc.Mapping(string_types, FixedLenFeature),
81 tc.Optional(string_types), object)
117 @tc.returns(tc.Dict(string_types, core.LabeledTensor))
118 @tc.accepts(core.LabeledTensorLike, tc.Mapping(string_types, FixedLenFeature),
119 tc.Optional(string_types), object)
153 @tc.accepts(dtypes.DType, tc.Collection(tc.Union(string_types, core.AxisLike)),
[all …]
Dops.py24 from six import string_types
41 tc.Optional(string_types))
54 tc.Mapping(string_types,
56 tc.Optional(string_types))
147 tc.Collection(core.LabeledTensorLike), string_types,
148 tc.Optional(string_types))
217 tc.Union(string_types, core.AxisLike), int, tc.Optional(string_types))
262 tc.Optional(string_types), tc.Optional(string_types))
298 tc.Collection(string_types),
299 tc.Collection(tc.Union(string_types, core.AxisLike)),
[all …]
Dcore.py34 from six import string_types
72 @tc.accepts(object, string_types, AxisValue)
113 @tc.returns(string_types)
117 @tc.returns(string_types)
176 AxisLike = tc.Union(Axis, tc.Tuple(string_types, AxisValue))
229 @tc.returns(string_types)
240 @tc.accepts(object, string_types)
255 @tc.accepts(object, string_types)
279 tc.Union(Axes, tc.Collection(tc.Union(string_types, AxisLike))))
300 if isinstance(axis_like, string_types):
[all …]
Dsugar.py21 from six import string_types
125 new_axis_names = [axis if isinstance(axis, string_types) else
/external/libchrome/third_party/jinja2/
Dmeta.py14 from jinja2._compat import string_types, iteritems
84 if isinstance(template_name.value, string_types):
94 if isinstance(node.template.value, string_types):
102 if isinstance(template_name, string_types):
Dtests.py15 from jinja2._compat import text_type, string_types, integer_types
79 return isinstance(value, string_types)
D_compat.py24 string_types = (str,) variable
53 string_types = (str, unicode) variable
Dloaders.py19 from jinja2._compat import string_types, iteritems
161 if isinstance(searchpath, string_types):
317 elif isinstance(rv, string_types):
442 if isinstance(path, string_types):
Dfilters.py22 from jinja2._compat import imap, string_types, text_type, iteritems, PY2
59 return value.lower() if isinstance(value, string_types) else value
70 elif isinstance(attribute, string_types):
103 elif not isinstance(value, string_types):
651 if isinstance(value, string_types):
899 if isinstance(value, string_types):
Dsandbox.py20 from jinja2._compat import string_types, PY2
143 if isinstance(obj, string_types):
364 if isinstance(argument, string_types):
/external/libchrome/third_party/markupsafe/
D_compat.py17 string_types = (str,) variable
22 string_types = (str, unicode) variable
D__init__.py12 from markupsafe._compat import text_type, string_types, int_types, \
79 if isinstance(other, string_types) or hasattr(other, '__html__'):
84 if hasattr(other, '__html__') or isinstance(other, string_types):
206 if hasattr(value, '__html__') or isinstance(value, string_types):
/external/python/setuptools/pkg_resources/_vendor/packaging/
D_compat.py15 string_types = str, variable
17 string_types = basestring, variable
Dspecifiers.py11 from ._compat import string_types, with_metaclass
115 if isinstance(other, string_types):
126 if isinstance(other, string_types):
628 if isinstance(other, string_types):
651 if isinstance(other, string_types):
661 if isinstance(other, string_types):
Dmarkers.py15 from ._compat import string_types
149 assert isinstance(marker, (list, tuple, string_types))
218 assert isinstance(marker, (list, tuple, string_types))
/external/python/setuptools/setuptools/_vendor/packaging/
D_compat.py15 string_types = str, variable
17 string_types = basestring, variable
Dspecifiers.py11 from ._compat import string_types, with_metaclass
115 if isinstance(other, string_types):
126 if isinstance(other, string_types):
628 if isinstance(other, string_types):
651 if isinstance(other, string_types):
661 if isinstance(other, string_types):
Dmarkers.py15 from ._compat import string_types
149 assert isinstance(marker, (list, tuple, string_types))
218 assert isinstance(marker, (list, tuple, string_types))
/external/flatbuffers/python/flatbuffers/
Dcompat.py29 string_types = (str,) variable
35 string_types = (unicode,) variable
/external/python/oauth2client/oauth2client/
Dutil.py160 if isinstance(scopes, six.string_types):
180 if isinstance(scopes, six.string_types):
/external/tensorflow/tensorflow/python/keras/layers/
Dkernelized.py142 if isinstance(kernel_initializer, six.string_types):
239 if isinstance(initializer, six.string_types):
255 if (isinstance(initializer, six.string_types) and
/external/python/apitools/apitools/base/protorpclite/
Dprotojson.py230 elif isinstance(value, six.string_types):
326 isinstance(value, (six.integer_types, six.string_types))):
333 isinstance(value, six.string_types)):
/external/tensorflow/tensorflow/contrib/framework/python/framework/
Dgraph_util.py59 if isinstance(input_nodes, six.string_types):
62 if isinstance(output_nodes, six.string_types):
/external/scapy/scapy/
Droute6.py55 …rtlst.append(('%s/%i'% (net,msk), gw, (iface if isinstance(iface, six.string_types) else iface.nam…
203 k = dst + "%%" + (dev if isinstance(dev, six.string_types) else dev.pcap_name)
271 k = dst + "%%" + (dev if isinstance(dev, six.string_types) else dev.pcap_name)
/external/tensorflow/tensorflow/contrib/graph_editor/tests/
Dmatch.py21 from six import string_types
52 if isinstance(op_types, string_types):

123456