- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for attr_ (0.2 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
} /** * Return the attributes of this file. Attributes are represented as a * bitset that must be masked with <tt>ATTR_*</tt> constants to determine * if they are set or unset. The value returned is suitable for use with * the <tt>setAttributes()</tt> method. * * @return the <tt>ATTR_*</tt> attributes associated with this file * @throws SmbException */ public int getAttributes() throws SmbException {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 107.9K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
// we cannot rely on node name; use an attribute instead. host_compute_builder.Attr(kXlaOriginalOutsideCompilationNodeName, host_compute_builder.node_name()); // Copy all attributes. for (const auto& attr : call_node->attrs()) { host_compute_builder.Attr(attr.first, attr.second); } // Populate tpu_core assignment.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0) -
tensorflow/c/c_api.cc
for (it = attrs.begin(); it != attrs.end(); it++) { if (count == i) { return it->first.length(); } count++; } return -1; } void TF_OperationGetAttrName(TF_Operation* oper, int i, char* output, TF_Status* status) { auto attrs = oper->node.attrs(); int count = 0; AttrValueMap::const_iterator it; for (it = attrs.begin(); it != attrs.end(); it++) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
NamedAttrList attrs; for (const auto& func_attr : value.func().attr()) { TF_ASSIGN_OR_RETURN( auto attr, ImporterBase::ConvertAttributeValue(func_attr.second)); attrs.push_back(builder_.getNamedAttr(func_attr.first, attr)); } auto func_attrs = builder_.getDictionaryAttr(attrs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
// According to the definition, the default value of these attributes // are all ones when unspecified. if (!attr.has_value()) return true; if (attr->getType().getShape()[0] != operand_type.getRank()) return false; if (!attr->isSplat()) return false; if (attr->getElementType() != rewriter.getIntegerType(64))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
std::vector<Item> attrs(node_def.attr().begin(), node_def.attr().end()); std::sort(attrs.begin(), attrs.end(), [](Item& p1, Item& p2) -> bool { return p1.first < p2.first; }); for (const Item& pair : attrs) { const char* key = pair.first.c_str(); const ::tensorflow::AttrValue& attr = pair.second; switch (attr.value_case()) { case ::tensorflow::AttrValue::kS:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc
return false; } if (!EqualProtoMap<string, AttrValue>( a.attr(), b.attr(), [](const string& s) { return s; }, [](const AttrValue& v) { return v.DebugString(); }, [](const string& key, const AttrValue& av, const AttrValue& bv) { return av.DebugString() == bv.DebugString(); }, absl::StrCat("attr mismatch for function ", a.signature().name()), diff)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 113.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// Return operand as a constant attribute. auto operand_as_constant_fn = [&](Value operand) { ValuePort vp(operand); Attribute attr = ComputeOutputComponent(vp); if (!attr && matchPattern(operand, m_Constant(&attr))) RecordValue(vp, attr); return attr; }; // Return op result as a shape. auto op_result_as_shape_fn = [&](InferenceContext& context,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
// Attribute holding a single value of float type. If attr has no elements, the // result is 0.0f. TypedAttr ConvertSingleElementAttrToFloatAttr(Attribute attr) { const auto dense_fp_attr = mlir::dyn_cast_or_null<DenseFPElementsAttr>(attr); if (dense_fp_attr) { // Already float => return return dense_fp_attr; } OpBuilder builder(attr.getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
DenseIntElementsAttr attr; if (axis_type.getElementType().isInteger(32)) { attr = DenseIntElementsAttr::get(axis_type, static_cast<int32_t>(axis)); } else { assert(axis_type.getElementType().isInteger(64)); attr = DenseIntElementsAttr::get(axis_type, axis); } auto axis_const = rewriter.create<TF::ConstOp>(loc, attr); auto concat =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)