Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 378 for Importer (0.15 sec)

  1. src/cmd/compile/internal/types2/resolver.go

    	} 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)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/go/types/resolver.go

    	} 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)
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

    from tensorflow.core.framework import graph_pb2
    from tensorflow.core.protobuf import meta_graph_pb2
    from tensorflow.core.protobuf import saver_pb2
    from tensorflow.python.client import session
    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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    // (Note that the eventual API will likely be quite different.)
    //
    // 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter_test.go

    	// will expose the error if it is present.
    	//
    	// (Issue: Both the textual and the binary importer used the file path
    	// of the package to be imported as key into the shared packages map.
    	// However, the binary importer then used the package path to identify
    	// the imported package to mark it as complete; effectively marking the
    	// wrong package as complete. By using an "unclean" package path, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/debugging.md

    ```Python
        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)
  9. 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)
  10. testing/internal-architecture-testing/src/main/java/org/gradle/internal/architecture/PackageCycleTest.java

     */
    
    package org.gradle.internal.architecture;
    
    import com.tngtech.archunit.core.domain.JavaClass;
    import com.tngtech.archunit.core.domain.PackageMatchers;
    import com.tngtech.archunit.core.importer.ImportOption;
    import com.tngtech.archunit.junit.AnalyzeClasses;
    import com.tngtech.archunit.junit.ArchTest;
    import com.tngtech.archunit.lang.ArchRule;
    import com.tngtech.archunit.library.dependencies.SliceAssignment;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top