- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 170 for Fsetxattr (1.02 sec)
-
tensorflow/compiler/jit/node_matchers.h
input_matchers_ = std::move(inputs); } void set_control_deps(NodeSeqMatcher control_deps) { DCHECK(IsEmpty()); control_deps_ = std::move(control_deps); } void set_attr(AttrKeyValuePair attr) { DCHECK(IsEmpty()); attr_ = std::move(attr); } bool IsEmpty() const { return !name().has_value() && !op().has_value() && !inputs().has_value() &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/prepare_quantize.cc
if (!preceding_qcast) return failure(); auto new_qcast = rewriter.create<quantfork::QuantizeCastOp>( q_op.getLoc(), q_op.getType(), preceding_qcast.getArg()); new_qcast->setAttr(kVolatileOpAttrName, rewriter.getUnitAttr()); q_op->replaceAllUsesWith(new_qcast); return success(); } }; class ConvertTFConstOpToArithConstOp : public OpRewritePattern<TF::ConstOp> { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 05:11:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc
new_config.push_back(builder.getNamedAttr( kCalledIndexAttrName, builder.getI64IntegerAttr(it->second))); // Set the `tf.backend_config` attribute to the `new_config`. op->setAttr(kTfBackendConfigAttrName, builder.getDictionaryAttr(new_config)); return WalkResult::advance(); }); if (result.wasInterrupted()) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
return signalPassFailure(); } ModuleOp outlined_module = ModuleOp::create(getOperation().getLoc()); outlined_module->setAttrs(getOperation()->getAttrDictionary()); outlined_module->setAttr(SymbolTable::getSymbolAttrName(), StringAttr::get(ctx, kNestedModule)); symbol_table.insert(outlined_module); SymbolTable outlined_symbol_table(outlined_module);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
getContext(), ftype.getResults(), graph_func.getAllResultAttrs(), res_types, res_attrs))) return failure(); // Update the function type which has excluded the control args. func->setAttr("function_type", TypeAttr::get(rewriter.getFunctionType( arg_types, res_types))); // Update arg/result attributes. func.setAllArgAttrs(arg_attrs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/jax_to_tfl_flatbuffer.cc
// Jax wrapped the output nodes in a tuple, so it's pretty hard to us // to tell the output at this point, we will set the output at the export // phase. main_func->setAttr("tf.entry_function", builder.getDictionaryAttr(attrs)); // StableHLO Quantizer is not supported for JAX input models, so // quantization_py_function_lib is set to nullptr.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dilated_conv.h
addtional_pad != bts_crops_attr.getValues<APInt>()[{i, j}].getSExtValue()) { op->setAttr("padding", rewriter.getStringAttr("SAME")); break; } } } // Set dilations op->setAttr("dilations", dilations_attr.value()); if (expand_op) { // If there is `expand_op`, we need to rewire the inputs to bypass the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc
if (!matcher.Match(xla_call_module_op)) continue; // Set the text representation of `Method` to matched // `TF::XlaCallModuleOp`. xla_call_module_op->setAttr( kQuantizationMethodAttr, StringAttr::get(module_op.getContext(), std::move(*quantization_method_txtpb))); } } return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
template <typename Predicate> void CopyAttributes(Operation *from, Operation *to, Predicate P) { for (const NamedAttribute &attr : from->getAttrs()) if (P(attr)) to->setAttr(attr.getName(), attr.getValue()); } // Copies attributes whose name begins with an _ from `from` to `to`. inline void CopyUnderscoredAttributes(Operation *from, Operation *to) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc
} if (cifg) { attributes.push_back(kCoupleInputForgetGates); } mlir::StringAttr attr_values = builder->getStringAttr(llvm::join(attributes, ",")); func->setAttr(kTFImplements, attr_values); return func; } class LstmUtilsTest : public ::testing::Test { protected: LstmUtilsTest() {} void SetUp() override { context_ = std::make_unique<mlir::MLIRContext>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10K bytes - Viewed (0)