Home
last modified time | relevance | path

Searched refs:specs_ (Results 1 – 7 of 7) sorted by relevance

/external/fmtlib/test/
Dlocale-test.cc115 detail::dynamic_format_specs<char> specs_; member
122 detail::specs_checker<handler_type> handler(handler_type(specs_, ctx), in parse()
125 detail::parse_float_type_spec(specs_, ctx.error_handler()); in parse()
133 specs_.precision, specs_.precision_ref, ctx); in format()
135 if (specs_.precision > 0) in format()
136 format_specs = fmt::format(".{}", specs_.precision); in format()
137 if (specs_.type) in format()
138 format_specs += specs_.type; in format()
144 if (specs_.width > 0) in format()
145 fill_align_width = fmt::format(">{}", specs_.width); in format()
Dformat641 detail::specs_checker<handler_type> handler(handler_type(specs_, ctx),
644 auto type_spec = specs_.type;
660 &specs_, detail::char_specs_checker<decltype(eh)>(type_spec, eh));
664 detail::parse_float_type_spec(specs_, eh);
687 specs_.width, specs_.width_ref, ctx);
689 specs_.precision, specs_.precision_ref, ctx);
692 return visit_format_arg(af(ctx, nullptr, &specs_),
697 fmt::detail::dynamic_format_specs<Char> specs_;
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Ddevice_target.cc55 auto kernel_specs_it = specs_.find(kernel); in GetKernelSpec()
56 if (kernel_specs_it == specs_.end()) return llvm::None; in GetKernelSpec()
61 auto kernel_specs_it = specs_.find(op.logical_kernel()); in GetDecomposeFn()
62 if (kernel_specs_it == specs_.end()) return ScaleDecomposeFn(nullptr); in GetDecomposeFn()
82 return specs_[kernel].Add(signature, {ScaleConstraintType::CustomScale, fn}); in RegisterKernel()
90 if (failed(specs_[kernel].Add(signature, {constraint, {}}))) return failure(); in RegisterKernel()
93 specs_[kernel].WithImpl(std::bind(&DeviceTarget::DecomposeSameScale, in RegisterKernel()
Ddevice_target.h162 KernelSpecs& RegisterKernel(llvm::StringRef kernel) { return specs_[kernel]; } in RegisterKernel()
185 llvm::StringMap<KernelSpecs> specs_;
/external/fmtlib/include/fmt/
Dformat.h2129 format_specs* specs_;
2183 out_ = write_ptr<char_type>(out_, to_uintptr(p), specs_);
2195 formatter.write_int(static_cast<int>(value), *formatter.specs_);
2198 if (formatter.specs_)
2199 formatter.out_ = write_char(formatter.out_, value, *formatter.specs_);
2218 format_specs* specs() { return specs_; }
2221 if (specs_)
2222 write(string_view(value ? "true" : "false"), *specs_);
2233 specs_ ? write(sv, *specs_) : write(sv);
2239 : out_(out), locale_(loc), specs_(s) {}
[all …]
Dprintf.h157 format_specs& specs_;
160 explicit printf_width_handler(format_specs& specs) : specs_(specs) {}
166 specs_.align = align::left;
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc202 specs_(specs), in ImporterBase()
414 const GraphImportConfig& specs_; member in tensorflow::__anon014ec6670111::ImporterBase
678 for (const auto& input : specs_.inputs) { in GetInputOutputNodes()
688 for (const auto& output : specs_.outputs) { in GetInputOutputNodes()
698 for (const auto& control_output : specs_.control_outputs) in GetInputOutputNodes()
715 TF_ASSIGN_OR_RETURN(auto feeds_by_node, GetFeedsByNode(specs_.inputs)); in AddNodesToShapeRefiner()
850 if (specs_.prune_unused_nodes) { in AddNodesToShapeRefiner()
939 if (specs_.enable_shape_inference) { in InferInputType()
966 if (specs_.enable_shape_inference) { in InferOutputType()
1289 specs.enable_shape_inference = specs_.enable_shape_inference; in ConvertLibFunction()
[all …]