Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for outputDir (0.68 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

          directory.
    
      Raises:
        ValueError iff the graph does not contain a valid signature or the file
        prefix tensor is not found in the graph.
      """
      create_empty_output_dir(output_dir)
      v1_builder = builder.SavedModelBuilder(output_dir)
    
      graph_def = _restore_output_tensor_names(graph_def)
      with session.Session(graph=ops.Graph()) as sess:
        importer.import_graph_def(graph_def, name='')
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

          function.
    
      Raises:
        FileExistsError: Iff `output_dir` is not empty and `overwrite` is false.
      """
      dir_not_empty = (
          output_dir is not None
          and file_io.file_exists_v2(output_dir)
          and file_io.list_directory_v2(output_dir)
      )
    
      if dir_not_empty and not overwrite:
        raise FileExistsError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

            // [(replica:0,core:0), (replica:1,core:0), ...,
            //  (replica:0,core:1), (replica:1,core:1), ...]
            uint64_t output_id =
                core_id * num_replicas + replica_id + results.size();
            result.replaceAllUsesWith(replicate_op.getResult(output_id));
          }
        }
    
        // Assume all the replicas have the same structure.
        mlir::TF::TPUPartitionedOutputV2Op first_op = *(ops.begin());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/buildid.go

    				panic("internal error: a.output not set")
    			}
    			outputID, _, err := c.Put(a.actionID, r)
    			r.Close()
    			if err == nil && cfg.BuildX {
    				sh.ShowCmd("", "%s # internal", joinUnambiguously(str.StringList("cp", target, c.OutputFile(outputID))))
    			}
    			if b.NeedExport {
    				if err != nil {
    					return err
    				}
    				a.Package.Export = c.OutputFile(outputID)
    				a.Package.BuildID = a.buildID
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/action.go

    		}
    
    		c := cache.Default()
    		outputID, _, err := c.Put(a.actionID, r)
    		r.Close()
    		if err != nil {
    			return fmt.Errorf("error adding target to cache: %w", err)
    		}
    		if cfg.BuildX {
    			sh.ShowCmd("", "%s # internal", joinUnambiguously(str.StringList("cp", a.Target, c.OutputFile(outputID))))
    		}
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top