Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 243 for isset (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_asset_sinking.mlir

    // RUN: tf-opt %s -split-input-file -tf-saved-model-asset-sinking='saved-model-dir=foo/bar' | FileCheck %s
    
    // CHECK-LABEL: module @asset
    module @asset attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init]} : () -> ()
    
      // CHECK-NOT: "tf_saved_model.asset"
      "tf_saved_model.asset"() {filename = "assets/test0.txt", sym_name = "asset0"} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/freeze_saved_model_assets.cc

        for (int i = 0, e = func.getNumArguments(); i < e; ++i) {
          SmallVector<TF::InitializeTableFromTextFileV2Op, 4>
              init_table_from_text_file_ops_to_erase;
          auto asset = LookupBoundInputOfType<AssetOp>(func, i, symbol_table);
    
          if (!asset) continue;
    
          auto arg = func.getArgument(i);
          bool arg_is_deletable = true;
          for (auto user : arg.getUsers()) {
            if (auto read_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 30 01:12:09 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc

          auto asset = LookupBoundInputOfType<AssetOp>(
              func, argument.getArgNumber(), symbol_table);
          if (asset == nullptr) {
            continue;
          }
    
          // Create a const op for the asset if it doesn't already exist.
          auto it = const_ops.find(asset.getSymName());
          if (it == const_ops.end()) {
            // Asset filenames are relative to the SavedModel directory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server.go

    }
    
    // createHostsideProbeIpset creates an ipset. This is designed to be called from the host netns.
    // Note that if the ipset already exist by name, Create will not return an error.
    //
    // We will unconditionally flush our set before use here, so it shouldn't matter.
    func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) {
    	linDeps := ipset.RealNlDeps()
    	probeSet, err := ipset.NewIPSet(iptables.ProbeIPSet, isV6, linDeps)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/testing/util.go

    type ExpectedIptablesChain map[string][]ExpectedIptablesRule
    
    // ExpectedIptablesRule is the expected iptables rules with jump chain and match ipset name
    type ExpectedIptablesRule struct {
    	SourceAddress string
    	JumpChain     string
    	MatchSet      string
    }
    
    // ExpectedIPSet is the expected ipset with set name and entries name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

    }
    
    def AssetSinkingPass : Pass<"tf-saved-model-asset-sinking", "mlir::ModuleOp"> {
      let summary = "Sinks SavedModel asset filenames to constants";
    
      let description = [{
        This pass sinks arguments of SavedModel methods that are bounded to
        `tf_saved_model.asset` into constants in the methods. After the pass, unused
        asset ops are removed from the module.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/loader_util.cc

                            std::vector<AssetFileDef>* asset_file_defs) {
      // With SavedModel v2, we write asset file def into metagraph instead of
      // collection, so read from metagraph first.
      if (meta_graph_def.asset_file_def_size() > 0) {
        for (const auto& asset : meta_graph_def.asset_file_def()) {
          asset_file_defs->push_back(asset);
        }
        return absl::OkStatus();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_assets.mlir

      func.func private @f_callee(%arg0: tensor<!tf_type.string>) {
        func.return
      }
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      "tf_saved_model.asset"() {filename = "assets/table.txt", sym_name = "v"} : () -> ()
      "tf_saved_model.asset"() {filename = "assets/table2.txt", sym_name = "w"} : () -> ()
    
      // CHECK: func @f()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/proxier.go

    		ipset:                 ipset,
    		nodePortAddresses:     nodePortAddresses,
    		networkInterfacer:     proxyutil.RealNetwork{},
    		gracefuldeleteManager: NewGracefulTerminationManager(ipvs),
    		logger:                logger,
    	}
    	// initialize ipsetList with all sets we needed
    	proxier.ipsetList = make(map[string]*IPSet)
    	for _, is := range ipsetInfo {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  10. internal/config/lambda/event/targetidset.go

    func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet {
    	nset := set.Clone()
    
    	for k := range sset {
    		nset.add(k)
    	}
    
    	return nset
    }
    
    // Difference - returns difference with given set as new set.
    func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet {
    	nset := NewTargetIDSet()
    	for k := range set {
    		if _, ok := sset[k]; !ok {
    			nset.add(k)
    		}
    	}
    
    	return nset
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top