- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 312 for importer (0.14 sec)
-
src/go/types/resolver.go
imp.cgo = check.conf.go115UsesCgo } else { // ordinary import var err error if importer := check.conf.Importer; importer == nil { err = fmt.Errorf("Config.Importer not installed") } else if importerFrom, ok := importer.(ImporterFrom); ok { imp, err = importerFrom.ImportFrom(path, dir, 0) if imp == nil && err == nil { err = fmt.Errorf("Config.Importer.ImportFrom(%s, %s, 0) returned nil but no error", path, dir) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
_ = obj.Pkg() } } ` // like src0, but also imports go/importer const src1 = ` package main import ( "go/types" _ "go/importer" ) func main() { var info types.Info for _, obj := range info.Uses { _ = obj.Pkg() } } ` // like src1 but with different import order // (used to fail with this issue) const src2 = ` package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stdlib_test.go
// type-checking. var printPackageMu sync.Mutex // typecheckFiles typechecks the given package files. func typecheckFiles(path string, filenames []string, importer Importer) (*Package, error) { // Parse package files. var files []*syntax.File for _, filename := range filenames { var errs []error errh := func(err error) { errs = append(errs, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:18:33 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
// the imported package to mark it as complete; effectively marking the // wrong package as complete. By using an "unclean" package path, the // file and package path are different, exposing the problem if present. // The same issue occurs with vendoring.) imports := make(map[string]*types.Package) fset := token.NewFileSet() for i := 0; i < 3; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py
from tensorflow.python.framework import importer from tensorflow.python.framework import ops from tensorflow.python.lib.io import file_io from tensorflow.python.saved_model import builder from tensorflow.python.saved_model import constants as saved_model_constants from tensorflow.python.saved_model import loader_impl as saved_model_loader from tensorflow.python.saved_model import tag_constants from tensorflow.python.training import saver
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.h
// graph transformation logic on Tensorflow graphs before importing to MLIR. It // serves as the source that provides the subgraphs requested by the savedmodel // MLIR importer, and at the same time it allows the implementation of this // class to transform the graph before feeding it to the importer. class SavedModelMLIRImportInput { public: SavedModelMLIRImportInput(const MetaGraphDef* meta_graph_def,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 6.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
// // The defaults honor a Config in a manner compatible with 'go vet'. var ( makeTypesImporter = func(cfg *Config, fset *token.FileSet) types.Importer { compilerImporter := importer.ForCompiler(fset, cfg.Compiler, func(path string) (io.ReadCloser, error) { // path is a resolved package path, not an import path. file, ok := cfg.PackageFile[path] if !ok { if cfg.Compiler == "gccgo" && cfg.Standard[path] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/cmd/go/internal/modload/import.go
importerIsTest bool } func (e *ImportMissingSumError) Error() string { var importParen string if e.importer != "" { importParen = fmt.Sprintf(" (imported by %s)", e.importer) } var message string if e.found { message = fmt.Sprintf("missing go.sum entry needed to verify package %s%s is provided by exactly one module", e.importPath, importParen) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 15:21:14 UTC 2024 - 27.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/debugging.md
uvicorn.run(app, host="0.0.0.0", port=8000) ``` будет запущена. --- Но этого не произойдет, если вы импортируете этот модуль (файл). Таким образом, если у вас есть файл `importer.py` с таким импортом: ```Python from myapp import app # Some more code ``` то автоматическая создаваемая внутри файла `myapp.py` переменная `__name__` будет иметь значение отличающееся от `"__main__"`. Следовательно, строка:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
TF_RETURN_IF_ERROR(importer.PrepareConvert(*fbody->graph)); TF_ASSIGN_OR_RETURN(auto func_type, importer.InferLibFunctionType(*fbody)); absl::InlinedVector<OutputTensor, 4> arg_nodes; absl::InlinedVector<OutputTensor, 4> ret_nodes; absl::InlinedVector<Node*, 4> control_ret_nodes; importer.GetArgsAndRetsFromFunctionBody(*fbody, &arg_nodes, &ret_nodes,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)