- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 732 for attr_ (0.08 sec)
-
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
op_state.addOperands(op.getOperands()); op_state.addTypes(op.getResultTypes()); SmallVector<NamedAttribute, 2> attrs; std::string parsed_op_name; tensorflow::NodeDef node_def; if (failed(ParseCustomOption(op.getCustomOption().getValue(), op.getLoc(), parsed_op_name, attrs, node_def))) { return failure(); } if (parsed_op_name != tf_op_name) { return op.emitOpError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
src/log/slog/internal/benchmarks/handlers.go
h.appendTime(buf, r.Time) buf.WriteByte(' ') } buf.WriteString("level=") *buf = strconv.AppendInt(*buf, int64(r.Level), 10) buf.WriteByte(' ') buf.WriteString("msg=") buf.WriteString(r.Message) r.Attrs(func(a slog.Attr) bool { buf.WriteByte(' ') buf.WriteString(a.Key) buf.WriteByte('=') h.appendValue(buf, a.Value) return true }) buf.WriteByte('\n') _, err := h.w.Write(*buf) return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 20:33:37 UTC 2023 - 4.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy
def _impl(ctx): classes = ",".join( [_AsClassName(x) for x in ctx.attr.srcs], ) ctx.actions.write(output = ctx.outputs.out, content = _OUTPUT % ( classes, ctx.attr.outname, )) _GenSuite = rule( attrs = { "srcs": attr.label_list(allow_files = True), "outname": attr.string(), }, outputs = {"out": "%{name}.java"}, implementation = _impl,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
std::vector<NamedAttribute> attrs = contraction->getAttrs(); ArrayAttr fused_ops_attr = ArrayAttr::get(context, fused_ops); attrs.push_back( NamedAttribute(StringAttr::get(context, "fused_ops"), fused_ops_attr)); // Epsilon is used only in fusions with the FusedBatchNorm op, so we zero it // here. Attribute epsilon = rewriter.getF32FloatAttr(0); attrs.push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/jit/node_matchers_test.cc
"to be 0 but found 1"); } TEST(NodeMatchers, Attrs) { Scope root = Scope::NewRootScope().ExitOnError(); Output enter = ops::internal::Enter( root.WithOpName("enter"), ops::Placeholder(root.WithOpName("data"), DT_FLOAT), "frame_name", ops::internal::Enter::Attrs{}.IsConstant(true)); EXPECT_THAT(enter.node(), NodeWith(Attr("is_constant", true)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 14:43:57 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.cc
value.add_int64_val(dim.size()); } } AddNodeAttr("value", value, &const_def); for (auto const& attr : n->attrs()) { if (*attr.first.begin() == '_') { AddNodeAttr(attr.first, attr.second, &const_def); } } TF_ASSIGN_OR_RETURN(Node * const_node, graph->AddNode(const_def));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc
const char* key = pair.getName().data(); const auto attr = pair.getValue(); if (mlir::isa<::mlir::IntegerAttr>(attr)) { fbb->Int(key, mlir::dyn_cast<mlir::IntegerAttr>(attr).getInt()); return success(); } if (mlir::isa<::mlir::FloatAttr>(attr)) { fbb->Double(key, mlir::dyn_cast<mlir::FloatAttr>(attr).getValueAsDouble()); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
src/log/slog/doc.go
# Attrs and Values An [Attr] is a key-value pair. The Logger output methods accept Attrs as well as alternating keys and values. The statement slog.Info("hello", slog.Int("count", 3)) behaves the same as slog.Info("hello", "count", 3) There are convenience constructors for [Attr] such as [Int], [String], and [Bool]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 14:35:48 UTC 2024 - 12.3K bytes - Viewed (0) -
src/html/template/error.go
// Examples: // {{define "main"}}<div {{template "attrs"}}>{{end}} // {{define "attrs"}}href="{{.URL}}"{{end}} // Discussion: // Package html/template looks through template calls to compute the // context. // Here the {{.URL}} in "attrs" must be treated as a URL when called // from "main", but you will get this error if "attrs" is not defined // when "main" is parsed. ErrNoSuchTemplate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 15:18:39 UTC 2023 - 9.3K bytes - Viewed (0)