- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 91 for parseable (0.27 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h
// devices are determined by looking up all TPU devices associated with each // TPU_SYSTEM:0 device found, alongside associated `topology_attr` and // `device_assignment_attr`. If `topology_attr` not an empty string (parsable to // TopologyProto), `device_assignment_attr` must not be empty also. When // `topology_attr` and `device_assignment_attr` are not empty, a general device // assignment based on those two attributes are used. Otherwise when
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
void TF_SetConfig(TF_SessionOptions* options, const void* proto, size_t proto_len, TF_Status* status) { if (!options->options.config.ParseFromArray(proto, proto_len)) { status->status = InvalidArgument("Unparseable ConfigProto"); } // Disable optimizations for static graph to allow calls to Session::Extend. options->options.config.mutable_experimental() ->set_disable_optimize_for_static_graph(true); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
src/cmd/internal/dwarf/putvarabbrevgen_test.go
return string(out) } if spvagenfile != slurp(pvagenfile) { t.Error(pvagenfile + " is out of date") } } func pvagenerate(t *testing.T) string { var fset token.FileSet f, err := parser.ParseFile(&fset, "./dwarf.go", nil, parser.ParseComments) if err != nil { t.Fatal(err) } cm := ast.NewCommentMap(&fset, f, f.Comments) abbrevs := make(map[string]int) funcs := map[string]ast.Stmt{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:45:07 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/c/tf_tensor.cc
} Status TensorInterface::FromProto(const tensorflow::TensorProto& from) { bool success = tensor_.FromProto(from); if (success) return absl::OkStatus(); return errors::InvalidArgument("Unparseable tensor proto"); } } // namespace tensorflow // -------------------------------------------------------------------------- static void DeleteArray(void* data, size_t size, void* arg) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 11.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go
if err := checkOtherFile(pass, name); err != nil { return nil, err } } for _, name := range pass.IgnoredFiles { if strings.HasSuffix(name, ".go") { f, err := parser.ParseFile(pass.Fset, name, nil, parser.ParseComments|parser.SkipObjectResolution) if err != nil { // Not valid Go source code - not our job to diagnose, so ignore. return nil, nil } checkGoFile(pass, f) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/language.go
if curKey > key { return end, end, end, true } start = end sep = p } } } // ParseBase parses a 2- or 3-letter ISO 639 code. // It returns a ValueError if s is a well-formed but unknown language identifier // or another error if another error occurred. func ParseBase(s string) (l Language, err error) { defer func() { if recover() != nil { l = 0 err = ErrSyntax } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 16.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go
uploadOK = false } var succeeded bool for _, f := range countFiles { fok := false x, err := u.parseCountFile(f) if err != nil { u.logger.Printf("Unparseable count file %s: %v", filepath.Base(f), err) continue } prog := findProgReport(x.Meta, report) for k, v := range x.Count { if counter.IsStackCounter(k) { // stack prog.Stacks[k] += int64(v)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy
} """.stripIndent() and: def result = fails 'test' then: result.assertTestsFailed() } def "tries to execute unparseable test classes"() { given: testDirectory.file('build/classes/java/test/com/example/Foo.class').text = "invalid class file" when: fails('test', '-x', 'compileTestJava')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 15.3K bytes - Viewed (0) -
src/go/types/example_test.go
func (c *Celsius) SetF(f float64) { *c = Celsius(f - 32 / 9 * 5) } type S struct { I; m int } type I interface { m() byte } ` fset := token.NewFileSet() f, err := parser.ParseFile(fset, "celsius.go", input, 0) if err != nil { log.Fatal(err) } // Type-check a package consisting of this file. // Type information for the imported packages
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
TF_Status* status) { tensorflow::AttrValue attr_value; if (!attr_value.ParseFromArray(proto, proto_len)) { status->status = InvalidArgument( "Unparseable AttrValue proto passed to " "TF_FunctionSetAttrValueProto"); return; } auto fdef_or = func->record->mutable_fdef(); if (!fdef_or.ok()) { status->status = fdef_or.status();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 13.6K bytes - Viewed (0)