- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for parseStyle (0.22 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h
public: static StringRef getDialectNamespace() { return "tf_executor"; } explicit TensorFlowExecutorDialect(MLIRContext *context); // Parses a type registered to this dialect. Type parseType(DialectAsmParser &parser) const override; // Prints a type registered to this dialect. void printType(Type type, DialectAsmPrinter &os) const override; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 07:17:01 UTC 2023 - 2.8K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser_test.go
var p parser p.init("test.gox", strings.NewReader(test.typ), make(map[string]*types.Package)) p.version = "v2" p.pkgname = test.id p.pkgpath = test.id p.maybeCreatePackage() typ := p.parseType(p.pkg) if p.tok != scanner.EOF { t.Errorf("expected full parse, stopped at %q", p.lit) } // interfaces must be explicitly completed if ityp, _ := typ.(*types.Interface); ityp != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 26 20:35:55 UTC 2018 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc
addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.cpp.inc" >(); } // Parse a type registered to this dialect. mlir::Type MlrtDialect::parseType(mlir::DialectAsmParser &parser) const { llvm::StringRef keyword; if (parser.parseKeyword(&keyword)) return mlir::Type(); if (keyword == "future") return FutureType::get(getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyConstraintNotationParser.java
super(ProjectDependency.class); this.instantiator = instantiator; } @Override protected DependencyConstraint parseType(ProjectDependency notation) { return instantiator.newInstance(DefaultProjectDependencyConstraint.class, notation); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 02:13:52 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParserFactory.java
StringNotationParser(boolean versionIsRequired) { super(CharSequence.class); this.versionIsRequired = versionIsRequired; } @Override protected Capability parseType(CharSequence notation) { String stringNotation = notation.toString(); String[] parts = stringNotation.split(":"); if (parts.length != 3) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h
static StringRef getDialectNamespace() { return "tf"; } // Overrides to redirect to tf_type dialect. Attribute parseAttribute(DialectAsmParser &parser, Type type) const override; Type parseType(DialectAsmParser &parser) const override; // Gradient attribute ("tf.gradient") in the list of NamedAttributes in a // function references to its gradient function. This attribute in TensorFlow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 4.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/typeconversion/MapNotationConverter.java
super(Map.class); } @Override public void describe(DiagnosticsVisitor visitor) { visitor.candidate("Maps"); } @Override public T parseType(Map values) throws UnsupportedNotationException { Map<String, Object> mutableValues = new HashMap<>(Cast.uncheckedNonnullCast(values)); Set<String> missing = null; ConvertMethod convertMethod = null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:52:07 UTC 2021 - 6.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
for (auto &hook : GetAdditionalOperationHooks()) { hook.second(*this); } } TensorFlowDialect::~TensorFlowDialect() { delete fallback_effect_op_interface_; } Type TensorFlowDialect::parseType(DialectAsmParser &parser) const { StringRef spec = parser.getFullSymbolSpec(); llvm::SMLoc loc = parser.getCurrentLocation(); parser.emitError( loc, "tf dialect has no types, potentially meant !tf_type." + spec);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
// | `tensor<` (string-literal | string_list) '>' // tensor_list_type ::= `tensor_list` // | `tensor_list<` (string-literal | string_list) '>' // attr_type ::= `attr` Type TFRDialect::parseType(DialectAsmParser &parser) const { Location loc = parser.getEncodedSourceLoc(parser.getNameLoc()); MLIRContext *ctx = loc.getContext(); StringRef typeNameSpelling;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
>(); addInterfaces<TensorFlowExecutorInlinerInterface, TensorFlowExecutorDialectFoldInterface>(); addTypes<ControlType, TokenType>(); } Type TensorFlowExecutorDialect::parseType(DialectAsmParser &parser) const { StringRef data_type; if (parser.parseKeyword(&data_type)) return Type(); if (data_type == "control") return ControlType::get(getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0)