HomeSort by relevance Sort by last modified time
    Searched refs:attr_name (Results 1 - 25 of 129) sorted by null

1 2 3 4 5 6

  /external/tensorflow/tensorflow/core/framework/
kernel_def_builder.h 46 KernelDefBuilder& TypeConstraint(const char* attr_name,
50 KernelDefBuilder& TypeConstraint(const char* attr_name, DataType allowed);
55 KernelDefBuilder& TypeConstraint(const char* attr_name);
81 KernelDefBuilder& KernelDefBuilder::TypeConstraint(const char* attr_name) {
82 return this->TypeConstraint(attr_name, DataTypeToEnum<T>::v());
node_def_util.h 122 // Returns the attr with attr_name if found. Otherwise, returns
124 const AttrValue* Find(StringPiece attr_name) const;
126 // Returns the attr_value for attr_name if found. Otherwise, returns a
128 Status Find(StringPiece attr_name, const AttrValue** attr_value) const;
162 // Return true if the attr with the name attr_name is defined in node_def.
163 bool HasNodeAttr(const NodeDef& node_def, StringPiece attr_name);
165 // Look up the attr with name attr_name and set *value to its value. If no
166 // attr with attr_name is found in node_def, or the attr does not have
168 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
170 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
    [all...]
kernel_def_builder.cc 38 const char* attr_name, gtl::ArraySlice<DataType> allowed) {
40 constraint->set_name(attr_name);
48 KernelDefBuilder& KernelDefBuilder::TypeConstraint(const char* attr_name,
51 constraint->set_name(attr_name);
  /external/tensorflow/tensorflow/core/util/
mirror_pad_mode.cc 24 Status GetNodeAttr(const NodeDef& node_def, StringPiece attr_name,
27 TF_RETURN_IF_ERROR(GetNodeAttr(node_def, attr_name, &str_value));
padding.cc 24 Status GetNodeAttr(const NodeDef& node_def, StringPiece attr_name,
27 TF_RETURN_IF_ERROR(GetNodeAttr(node_def, attr_name, &str_value));
mirror_pad_mode.h 47 Status GetNodeAttr(const NodeDef& node_def, StringPiece attr_name,
padding.h 48 Status GetNodeAttr(const NodeDef& node_def, StringPiece attr_name,
  /external/tensorflow/tensorflow/c/eager/
runtime.h 45 // Looks for 'attr_name' in 'm' and sets 'out' and 'is_list'.
46 Status AttrTypeByName(const AttrTypeMap& m, const string& attr_name,
89 AttrBuilder& Set(StringPiece attr_name, T&& value) {
91 SetInAttrValueMap(node_def_->mutable_attr(), attr_name, value);
108 void SetInAttrValueMap(AttrValueMap* m, StringPiece attr_name,
113 const AttrValue* found = AttrSlice(m).Find(attr_name);
117 m->insert(AttrValueMap::value_type(attr_name.ToString(), attr_value));
120 // NodeDefBuilder::CheckInconsistency(attr_name, *found, attr_value);
122 (*m)[attr_name.ToString()] = attr_value;
138 AttrBuilder& AttrBuilder::Set(StringPiece attr_name, StringPiece&& value)
    [all...]
c_api.h 175 const char* attr_name,
182 TFE_Context* ctx, const char* op_or_function_name, const char* attr_name,
186 const char* attr_name,
188 TF_CAPI_EXPORT extern void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name,
190 TF_CAPI_EXPORT extern void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name,
192 TF_CAPI_EXPORT extern void TFE_OpSetAttrBool(TFE_Op* op, const char* attr_name,
194 TF_CAPI_EXPORT extern void TFE_OpSetAttrType(TFE_Op* op, const char* attr_name,
199 TF_CAPI_EXPORT extern void TFE_OpSetAttrShape(TFE_Op* op, const char* attr_name,
204 // Sets the attribute attr_name to be a function specified by 'function'.
209 const char* attr_name,
    [all...]
  /external/elfutils/libdw/
dwarf_hasattr.c 68 unsigned int attr_name; local
69 get_uleb128 (attr_name, attrp, endp);
76 if (attr_name == 0 || attr_form == 0)
79 if (attr_name == search_name)
dwarf_child.c 69 unsigned int attr_name; local
70 get_uleb128 (attr_name, attrp, endp);
78 if (attr_name == 0 && attr_form == 0)
82 if (attr_name == search_name && search_name != INVALID)
85 *codep = attr_name;
  /external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
meta_class.py 12 for attr_name, attr_value in attrs.iteritems():
14 attrs[attr_name] = decorators.traced(attr_value)
  /external/autotest/server/cros/update_engine/
update_engine_event.py 72 def _verify_event_attribute(self, attr_name, expected_attr_val,
76 @param attr_name: name of the attribute to verify.
89 ('version' in attr_name and expected_attr_val in actual_attr_val)):
108 attr_name for attr_name, expected_attr_val
111 not self._verify_event_attribute(attr_name, expected_attr_val,
112 actual_event.get(attr_name)))]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
fix_renames.py 34 ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
37 power< module_name=%r trailer< '.' attr_name=%r > any* >
64 attr_name = results.get("attr_name")
68 if mod_name and attr_name:
69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)])
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /external/python/cpython2/Lib/lib2to3/fixes/
fix_renames.py 34 ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
37 power< module_name=%r trailer< '.' attr_name=%r > any* >
64 attr_name = results.get("attr_name")
68 if mod_name and attr_name:
69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)])
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /external/python/cpython3/Lib/lib2to3/fixes/
fix_renames.py 34 ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
37 power< module_name=%r trailer< '.' attr_name=%r > any* >
64 attr_name = results.get("attr_name")
68 if mod_name and attr_name:
69 new_attr = LOOKUP[(mod_name.value, attr_name.value)]
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/
fix_renames.py 34 ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
37 power< module_name=%r trailer< '.' attr_name=%r > any* >
64 attr_name = results.get("attr_name")
68 if mod_name and attr_name:
69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)])
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/
fix_renames.py 34 ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
37 power< module_name=%r trailer< '.' attr_name=%r > any* >
64 attr_name = results.get("attr_name")
68 if mod_name and attr_name:
69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)])
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_renames.py 34 ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
37 power< module_name=%r trailer< '.' attr_name=%r > any* >
64 attr_name = results.get("attr_name")
68 if mod_name and attr_name:
69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)])
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_renames.py 34 ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
37 power< module_name=%r trailer< '.' attr_name=%r > any* >
64 attr_name = results.get("attr_name")
68 if mod_name and attr_name:
69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)])
70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
  /external/skia/experimental/sksg/
SkSGNode.h 89 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \
90 const attr_type& get##attr_name() const { return attr_container; } \
91 void set##attr_name(const attr_type& v) { \
  /external/skqp/experimental/sksg/
SkSGNode.h 89 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \
90 const attr_type& get##attr_name() const { return attr_container; } \
91 void set##attr_name(const attr_type& v) { \
  /external/protobuf/python/
stubout.py 42 def SmartSet(self, obj, attr_name, new_attr):
43 """Replace obj.attr_name with new_attr. This method is smart and works
48 This method supports the case where attr_name is a staticmethod or a
63 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))):
65 orig_attr = getattr(obj, attr_name)
80 orig_attr = getattr(obj, attr_name)
89 old_attribute = obj.__dict__.get(attr_name)
93 self.stubs.append((orig_obj, attr_name, orig_attr))
94 setattr(orig_obj, attr_name, new_attr)
  /external/tensorflow/tensorflow/core/graph/
node_builder.h 103 // Set the value of an attr. attr_name must match the name of one of
109 NodeBuilder& Attr(StringPiece attr_name, T&& value);
111 NodeBuilder& Attr(StringPiece attr_name, std::initializer_list<T> value);
149 NodeBuilder& NodeBuilder::Attr(StringPiece attr_name, T&& value) {
150 def_builder_.Attr(attr_name, std::forward<T>(value));
155 NodeBuilder& NodeBuilder::Attr(StringPiece attr_name,
157 def_builder_.Attr(attr_name, value);
  /external/tensorflow/tensorflow/c/
python_api.h 30 void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,

Completed in 997 milliseconds

1 2 3 4 5 6