Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for file_prefix (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

        tf_executor.graph {
          tf_executor.fetch
        }
        return
      }
    // A new argument corresponding to the "file_prefix" should be created.
    // Also checks that tf.entry_function is not created.
    // CHECK: func.func @main(%[[ARG:.*]]: tensor<!tf_type.string> {tf_saved_model.index_path = ["file_prefix"]}) attributes {tf_saved_model.exported_names = ["main"]}
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // Creates a pass that moves & merges the "@tf_quant__save" function to "@main"
    // function. A new `IdentityOp` will be created. It will have control dependency
    // to the save function and returns the file_prefix argument (typed
    // `tensor<!tf_type.string>`). The file_prefix argument, which can be identified
    // if the "tf_saved_model.index_path" attribute has "__tf_file_prefix", will be
    // reused if it already exist in @main. Otherwise a new file prefix argument
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

    }
    
    // Dumps the MLIR module to disk.
    // This require the TF_DUMP_GRAPH_PREFIX to be set to a path that exist (or can
    // be created).
    static void DumpModule(mlir::ModuleOp module, std::string file_prefix) {
      std::string prefix = GetDumpDirFromEnvVar();
      if (prefix.empty()) return;
    
      auto* env = tensorflow::Env::Default();
      auto status = env->RecursivelyCreateDir(prefix);
      if (!status.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                        buf.append(strings[i]);
                    }
                    filePrefix = buf.toString();
                    extention = strings[strings.length - 1];
                } else {
                    filePrefix = name;
                    extention = "";
                }
                filePrefix = filePrefix.replaceAll("\\p{Zs}", "_");
            } else {
                filePrefix = "none";
                extention = "";
            }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. cmd/metacache-set_gen.go

    				return
    			}
    		case "Prefix":
    			z.Prefix, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Prefix")
    				return
    			}
    		case "FilterPrefix":
    			z.FilterPrefix, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "FilterPrefix")
    				return
    			}
    		case "Marker":
    			z.Marker, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Marker")
    				return
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    		// No additional prefix
    		return
    	}
    	// Remove basedir.
    	o.FilterPrefix = strings.TrimPrefix(o.Prefix, o.BaseDir)
    	// Remove leading and trailing slashes.
    	o.FilterPrefix = strings.Trim(o.FilterPrefix, slashSeparator)
    
    	if strings.Contains(o.FilterPrefix, slashSeparator) {
    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. cmd/metacache-walk.go

    	Recursive bool
    
    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    	// FilterPrefix will only return results with given prefix within folder.
    	// Should never contain a slash.
    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    	ForwardTo string
    
    	// Limit the number of returned objects if > 0.
    	Limit int
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. cmd/erasure-healing.go

    	}
    
    	path := baseDirFromPrefix(prefix)
    	filterPrefix := strings.Trim(strings.TrimPrefix(prefix, path), slashSeparator)
    	if path == prefix {
    		filterPrefix = ""
    	}
    
    	lopts := listPathRawOptions{
    		disks:          disks,
    		fallbackDisks:  fallbackDisks,
    		bucket:         bucket,
    		path:           path,
    		filterPrefix:   filterPrefix,
    		recursive:      true,
    		forwardTo:      "",
    		minDisks:       1,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    	if limit < 0 || len(merged) < limit {
    		merged = append(merged, a...)
    		merged = append(merged, b...)
    	}
    	m.o = merged
    }
    
    // filterPrefix will filter m to only contain entries with the specified prefix.
    func (m *metaCacheEntriesSorted) filterPrefix(s string) {
    	if s == "" {
    		return
    	}
    	m.forwardTo(s)
    	for i, o := range m.o {
    		if !o.hasPrefix(s) {
    			m.o = m.o[:i]
    			break
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. cmd/metacache-entries_test.go

    	if !reflect.DeepEqual(want, got) {
    		t.Errorf("got unexpected result: %#v", got)
    	}
    }
    
    func Test_metaCacheEntries_filterPrefix(t *testing.T) {
    	data := loadMetacacheSampleEntries(t)
    	data.filterPrefix("src/compress/bzip2/")
    	got := data.entries().names()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
Back to top