Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 585 for effects (0.22 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

        // Check if the side effecting op right before this side effecting op, if
        // it is side effecting, can be head extracted. Because of op ordering due
        // to side effects, if this is not true, this op cannot be head extracted.
        // TODO(lyandy): Remove special handling of embedding ops. Currently the IR
        // is in a topological sort order and depending on that ordering, embedding
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			}
    
    			err = verifyCreatesAndUpdates(client, testCase.expectCreate, testCase.expectUpdate)
    			if err != nil {
    				t.Errorf("unexpected error in side effects: %v", err)
    			}
    		})
    	}
    }
    
    func TestEndpointsAdapterUpdate(t *testing.T) {
    	endpoints1, epSlice1 := generateEndpointsAndSlice("foo", "testing", []int{80}, []string{"10.1.2.3", "10.1.2.4"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/deadstore.go

    			args = args[1:]
    		}
    
    		// The code below assumes that we have handled all the ops
    		// with sym effects already. Sanity check that here.
    		// Ignore Args since they can't be autos.
    		if v.Op.SymEffect() != SymNone && v.Op != OpArg {
    			panic("unhandled op with sym effect")
    		}
    
    		if v.Uses == 0 && v.Op != OpNilCheck && !v.Op.IsCall() && !v.Op.HasSideEffects() || len(args) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/partially_decluster_pass.cc

        // TODO(tpopp): See if XlaRun can be modified to avoid this issue
        // completely.
        if (IsShapeConsumerOp(*n)) {
          continue;
        }
        // We assume the only XLA-auto-clusterable operations with side effects are
        // resource variable updates.  We can't execute these twice.
        if (HasResourceInputOrOutput(*n)) {
          continue;
        }
    
        DeviceType device_type("");
        TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

    using StackResourceToOps = std::vector<
        absl::flat_hash_map<ResourceId, absl::flat_hash_set<Operation*>>>;
    
    // Side effect analysis info for a single function.
    //
    // This class provides an interface for querying control predecessors and
    // successors for ops of the given function. This information is computed from
    // side effects, using resource alias analysis where possible.
    // Remarks:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    	if e&(ssa.SymRead|ssa.SymAddr) != 0 {
    		effect |= uevar
    	}
    	if e&ssa.SymWrite != 0 {
    		if !isfat(n.Type()) || v.Op == ssa.OpVarDef {
    			effect |= varkill
    		} else if lv.conservativeWrites {
    			effect |= uevar
    		}
    	}
    
    	if effect == 0 {
    		return -1, 0
    	}
    
    	if pos, ok := lv.idx[n]; ok {
    		return pos, effect
    	}
    	return -1, 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

    	"sideEffects":             "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/expr.go

    		s[i] = walkExpr(s[i], init)
    	}
    }
    
    // return side-effect free and cheap n, appending side effects to init.
    // result may not be assignable.
    func cheapExpr(n ir.Node, init *ir.Nodes) ir.Node {
    	switch n.Op() {
    	case ir.ONAME, ir.OLITERAL, ir.ONIL:
    		return n
    	}
    
    	return copyExpr(n, n.Type(), init)
    }
    
    // return side effect-free n, appending side effects to init.
    // result is assignable if n is.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      if (!mem_interface) return false;
    
      for (Value value : filter_resources(op->getResults())) {
        llvm::SmallVector<MemoryEffects::EffectInstance, 4> effects;
        mem_interface.getEffectsOnValue(value, effects);
        for (auto& effect_instance : effects) {
          if (isa<MemoryEffects::Allocate>(effect_instance.getEffect())) {
            return true;
          }
        }
      }
      return false;
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_sql_databases.py

            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app import main
    
        # Ensure import side effects are re-executed
        importlib.reload(main)
        with TestClient(main.app) as c:
            yield c
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        os.chdir(cwd)
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top