Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for use_end (0.22 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      // requant, so only overwrite the first if that is not the case.
      const int num_uses = std::distance(dequant_op.getResult().use_begin(),
                                         dequant_op.getResult().use_end());
    
      // Whether to replace quantization params of the first dequantize op
      // after the quantized value is produced.
      // If there is a use other than the requantize states, then we can't clobber.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        [(ShapeMatchesReduceWithKeepAxes $input, $axes, $shape),
         (HasOneUse $reduce)]>;
    }
    
    
    def IsSame : Constraint<CPred<"$0 == $1">>;
    def HasTwoUse : Constraint<CPred<
      "std::distance($0.use_begin(), $0.use_end()) == 2">>;
    def AxesIsLastDimension : Constraint<CPred<
      "$0.cast<DenseIntElementsAttr>().getNumElements() == 1 && "
      "($0.cast<DenseIntElementsAttr>().getValues<APInt>()[0] == "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  3. cluster/gce/windows/testonly/user-profile.psm1

        {
          add-type @"
    using System.Runtime.InteropServices;
    
    namespace $typename
    {
        public static class UserEnv
        {
            [DllImport("userenv.dll", CharSet = CharSet.Unicode, ExactSpelling = false, SetLastError = true)]
            public static extern bool DeleteProfile(string sidString, string profilePath, string computerName);
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 26 00:44:57 UTC 2019
    - 9.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    			},
    			wantEncryptCalls: 0,
    			wantLogs:         nil,
    			wantErr:          "",
    		},
    		{
    			name:        "happy path, with previous state, useSeed=true",
    			service:     &testKMSv2EnvelopeService{keyID: "2"},
    			state:       validState(t, "2", now, false),
    			useSeed:     true,
    			statusKeyID: "2",
    			wantState: envelopekmsv2.State{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go

    // addTransformerForDecryption inserts a new transformer to the Envelope cache of DEKs for future reads.
    func (t *envelopeTransformer) addTransformerForDecryption(cacheKey []byte, key []byte, useSeed bool) (value.Read, error) {
    	var transformer value.Read
    	var err error
    	if useSeed {
    		// the input key is considered safe to use here because it is coming from the KMS plugin / etcd
    		transformer, err = aestransformer.NewHKDFExtendedNonceGCMTransformer(key)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 00:23:50 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    					"uid", uid,
    					"useSeed", useSeed,
    					"newKeyIDHash", envelopekmsv2.GetHashIfNotEmpty(encObject.KeyID),
    					"oldKeyIDHash", envelopekmsv2.GetHashIfNotEmpty(state.EncryptedObject.KeyID),
    					"expirationTimestamp", expirationTimestamp.Format(time.RFC3339),
    				)
    			}
    			return nil
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. src/internal/syscall/windows/security_windows.go

    const SE_GROUP_INTEGRITY = 0x00000020
    
    type TokenType uint32
    
    const (
    	TokenPrimary       TokenType = 1
    	TokenImpersonation TokenType = 2
    )
    
    //sys	GetProfilesDirectory(dir *uint16, dirLen *uint32) (err error) = userenv.GetProfilesDirectoryW
    
    const (
    	LG_INCLUDE_INDIRECT  = 0x1
    	MAX_PREFERRED_LENGTH = 0xFFFFFFFF
    )
    
    type LocalGroupUserInfo0 struct {
    	Name *uint16
    }
    
    type UserInfo4 struct {
    	Name            *uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    			ctx := testContext(t)
    
    			envelopeService := newTestEnvelopeService()
    			fakeClock := testingclock.NewFakeClock(time.Now())
    
    			useSeed := randomBool()
    
    			state, err := testStateFunc(ctx, envelopeService, fakeClock, useSeed)()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			transformer := newEnvelopeTransformerWithClock(envelopeService, testProviderName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  9. src/internal/syscall/windows/syscall_windows.go

    func ErrorLoadingGetTempPath2() error {
    	return procGetTempPath2W.Find()
    }
    
    //sys	CreateEnvironmentBlock(block **uint16, token syscall.Token, inheritExisting bool) (err error) = userenv.CreateEnvironmentBlock
    //sys	DestroyEnvironmentBlock(block *uint16) (err error) = userenv.DestroyEnvironmentBlock
    //sys	CreateEvent(eventAttrs *SecurityAttributes, manualReset uint32, initialState uint32, name *uint16) (handle syscall.Handle, err error) = kernel32.CreateEventW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/codegen.cc

      string ns_start;
      for (const string& n : opts.namespaces) {
        ns_start += absl::StrCat("namespace ", n, " {\n");
      }
      ns_start += "\n";
      string ns_end("\n");
      for (int i = opts.namespaces.size() - 1; i >= 0; --i) {
        const string& n = opts.namespaces[i];
        ns_end += absl::StrCat("}  // end namespace ", n, "\n");
      }
    
      // Generate metadata.
      const string arg_names_code =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top