- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 167 for setAttr (3.9 sec)
-
pkg/ctrlz/assets/static/js/prism-1.14.0.min.js
|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 16.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
// outside of the region which may cause some new legalization failures. // TODO(b/126739593): Enable this attribute in TensorFlow by default. Also, // see b/185542519 for the context. dst->setAttr(kXlaPropagateCompileTimeConsts, builder->getBoolAttr(true)); } // If the region only does a single function call whose operands / returns match // exactly the block args and results, return the name of the called function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
return IntegerAttr::get(IntegerType::get(context, 64), v); }); // TODO(b/157276506): change type of strides to DenseElementsAttr auto strides = ArrayAttr::get(context, llvm::to_vector<4>(attrs)); conv2d->setAttr("strides", strides); } // Transforms input shape for the first convolution. void HandleConv2DInput(TF::Conv2DOp conv2d, int64_t block_size) { auto input = conv2d.getInput();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
} // Recreate the attributes dictionary to only contain "value". NamedAttrList attributes; attributes.append(NamedAttribute(value_str_attr, cst->getAttr("value"))); cst->setAttrs(attributes.getDictionary(&getContext())); }); auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>(); for (auto func : getOperation().getOps<mlir::func::FuncOp>())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
xla_call_module_op.getArgs()); // Transfer the `kQuantizationMethodAttr` attribute to the `CallOp`, // indicating what `Method` has been applied to the quantized unit. call_op->setAttr( kQuantizationMethodAttr, xla_call_module_op->getAttrOfType<StringAttr>(kQuantizationMethodAttr)); rewriter.replaceOp(xla_call_module_op, call_op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
// quantization pass. These ops can be removed without losing original // program accuracy. // TODO: b/323478683 - Make the attribute being part of op definition. quantize->setAttr(kVolatileOpAttrName, builder_.getUnitAttr()); // `original_result` has a use to `quantize`, so this will replace that use // by the result of `dequantize`. Remember to reset that use afterwards
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
} OpBuilder builder(call); auto new_call = builder.create<CallOp>( call.getLoc(), info.decomposed_callee.getFunctionType().getResults(), new_operands, call->getAttrs()); new_call->setAttr( "f", SymbolRefAttr::get( builder.getContext(), const_cast<func::FuncOp&>(info.decomposed_callee).getName())); for (const auto& entry : info.buffer_ret_to_size_ret) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc
} OpBuilder builder(call); auto new_call = builder.create<CallOp>( call.getLoc(), info.decomposed_callee.getFunctionType().getResults(), new_operands, call->getAttrs()); new_call->setAttr( "f", SymbolRefAttr::get( builder.getContext(), const_cast<func::FuncOp&>(info.decomposed_callee).getName())); for (const auto& entry : info.ret_forward_input) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 20:41:19 UTC 2023 - 40.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc
Value reduced = builder.create<TF::EinsumOp>( loc, RankedTensorType::get(output_shape, builder.getIntegerType(32)), input_arguments, builder.getStringAttr(einsum_equation)); reduced.getDefiningOp()->setAttr( kTfQuantCreatedEinsum, BoolAttr::get(reduced.getDefiningOp()->getContext(), true)); auto mul_op = builder.create<TF::MulOp>(loc, zp, reduced);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 47.1K bytes - Viewed (0)