Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 280 for Canonicalize (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_v1.py

              outputs={'r': tensor_info_r},
              method_name='some_function'))
      }, tf.tables_initializer(), None
    
    
    if __name__ == '__main__':
      common_v1.set_tf_options()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize_compile_and_replicate_attributes.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h"
    #include "tensorflow/core/util/device_name_utils.h"
    
    #define DEBUG_TYPE "tf-canonicalize-compile-and-replicate-attributes"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    
    #define GEN_PASS_DEF_CANONICALIZECOMPILEANDREPLICATEATTRIBUTESPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. pkg/registry/apps/daemonset/strategy.go

    	newDaemonSet := obj.(*apps.DaemonSet)
    	return pod.GetWarningsForPodTemplate(ctx, field.NewPath("spec", "template"), &newDaemonSet.Spec.Template, nil)
    }
    
    // Canonicalize normalizes the object after validation.
    func (daemonSetStrategy) Canonicalize(obj runtime.Object) {
    }
    
    // AllowCreateOnUpdate is false for daemon set; this means a POST is
    // needed to create one
    func (daemonSetStrategy) AllowCreateOnUpdate() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  4. pkg/registry/core/replicationcontroller/strategy.go

    	}
    	warnings = append(warnings, pod.GetWarningsForPodTemplate(ctx, field.NewPath("spec", "template"), newRC.Spec.Template, nil)...)
    	return warnings
    }
    
    // Canonicalize normalizes the object after validation.
    func (rcStrategy) Canonicalize(obj runtime.Object) {
    }
    
    // AllowCreateOnUpdate is false for replication controllers; this means a POST is
    // needed to create one.
    func (rcStrategy) AllowCreateOnUpdate() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:10 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  5. pkg/registry/resource/resourceslice/strategy.go

    	return validation.ValidateResourceSlice(slice)
    }
    
    func (resourceSliceStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (resourceSliceStrategy) Canonicalize(obj runtime.Object) {
    }
    
    func (resourceSliceStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (resourceSliceStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. pkg/registry/apps/replicaset/strategy.go

    	}
    	warnings = append(warnings, pod.GetWarningsForPodTemplate(ctx, field.NewPath("spec", "template"), &newRS.Spec.Template, nil)...)
    	return warnings
    }
    
    // Canonicalize normalizes the object after validation.
    func (rsStrategy) Canonicalize(obj runtime.Object) {
    }
    
    // AllowCreateOnUpdate is false for ReplicaSets; this means a POST is
    // needed to create one.
    func (rsStrategy) AllowCreateOnUpdate() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:06:43 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  7. pkg/registry/core/secret/strategy.go

    // WarningsOnCreate returns warnings for the creation of the given object.
    func (strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return warningsForSecret(obj.(*api.Secret))
    }
    
    func (strategy) Canonicalize(obj runtime.Object) {
    }
    
    func (strategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (strategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    	newSecret := obj.(*api.Secret)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/rest/create_update.go

    	// WarningsOnUpdate returns warnings to the client performing the update.
    	// WarningsOnUpdate is invoked after default fields in the object have been filled in
    	// and after ValidateUpdate has passed, before Canonicalize is called, and before the object is persisted.
    	// This method must not mutate either object.
    	//
    	// Be brief; limit warnings to 120 characters if possible.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  9. src/net/textproto/reader.go

    // canonicalize them.
    func canonicalMIMEHeaderKey(a []byte) (_ string, ok bool) {
    	if len(a) == 0 {
    		return "", false
    	}
    
    	// See if a looks like a header key. If not, return it unchanged.
    	noCanon := false
    	for _, c := range a {
    		if validHeaderFieldByte(c) {
    			continue
    		}
    		// Don't canonicalize.
    		if c == ' ' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. pkg/registry/storagemigration/storagemigration/strategy.go

    	return svmvalidation.ValidateStorageVersionMigration(bundle)
    }
    
    func (strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (strategy) Canonicalize(obj runtime.Object) {}
    
    func (strategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (s strategy) ValidateUpdate(ctx context.Context, new, old runtime.Object) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top