Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 581 for dilation (0.69 sec)

  1. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

                                           "Conv2D op doesn't have valid padding");
      }
      // Make sure dilations are all ones if set.
      const ArrayAttr& dilations =
          op->template getAttrOfType<ArrayAttr>("dilations");
      if (dilations && !TFIntListIsAllOnes(dilations)) {
        return rewriter.notifyMatchFailure(op, "dilations should be all 1");
      }
    
      if (!TFL::TFTypeIsFloat32Tensor(op.getInput()) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      IntegerAttr dilation_depth_factor, dilation_height_factor,
          dilation_width_factor;
      if (!TFIntListIs1XYZ1(op, "dilations", &dilation_depth_factor,
                            &dilation_height_factor, &dilation_width_factor)) {
        // If the 'dilations' attribute is missing, we use the default value (1)
        // for all dilation depth, height and width factor.
        dilation_depth_factor = rewriter.getI32IntegerAttr(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

                                  llvm::StringMap<Attribute>& identifier_to_attr) {
      ArrayAttr dilations =
          mlir::dyn_cast<ArrayAttr>(identifier_to_attr["dilations"]);
      const int dilation_h = mlir::cast<IntegerAttr>(dilations[1]).getInt();
      const int dilation_w = mlir::cast<IntegerAttr>(dilations[2]).getInt();
      return rewriter.getI64ArrayAttr({dilation_h, dilation_w});
    }
    
    Attribute GetPaddingValue(PatternRewriter& rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

          int dilation_i = mlir::cast<IntegerAttr>(dilations[i]).getInt();
          int out_size = tflite::ComputeOutSize(kTfLitePaddingSame, input_size,
                                                filter_size, stride_i, dilation_i);
    
          int offset = 0;
          int padding_before = tflite::ComputePaddingWithOffset(
              stride_i, dilation_i, input_size, filter_size, out_size, &offset);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. pkg/controller/tainteviction/taint_eviction_test.go

    	// verify pod is not queued for deletion
    	if controller.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String()) != nil {
    		t.Fatalf("pod queued for deletion with no taints")
    	}
    
    	// no taint -> infinitely tolerated taint
    	nodeIndexer.Update(singleTaintedNode)
    	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
    	// verify pod is not queued for deletion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. pkg/proxy/config/config.go

    	OnServiceAdd(service *v1.Service)
    	// OnServiceUpdate is called whenever modification of an existing
    	// service object is observed.
    	OnServiceUpdate(oldService, service *v1.Service)
    	// OnServiceDelete is called whenever deletion of an existing service
    	// object is observed.
    	OnServiceDelete(service *v1.Service)
    	// OnServiceSynced is called once all the initial event handlers were
    	// called and the state is fully propagated to local cache.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set.go

    func (ssc *StatefulSetController) enqueueSSAfter(ss *apps.StatefulSet, duration time.Duration) {
    	key, err := controller.KeyFunc(ss)
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("couldn't get key for object %#v: %v", ss, err))
    		return
    	}
    	ssc.queue.AddAfter(key, duration)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. pkg/controller/podgc/gc_controller.go

    	nodeLister       corelisters.NodeLister
    	nodeListerSynced cache.InformerSynced
    
    	nodeQueue workqueue.TypedDelayingInterface[string]
    
    	terminatedPodThreshold int
    	gcCheckPeriod          time.Duration
    	quarantineTime         time.Duration
    }
    
    func NewPodGC(ctx context.Context, kubeClient clientset.Interface, podInformer coreinformers.PodInformer,
    	nodeInformer coreinformers.NodeInformer, terminatedPodThreshold int) *PodGCController {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set.go

    	}
    
    	rsc.queue.Add(key)
    }
    
    func (rsc *ReplicaSetController) enqueueRSAfter(rs *apps.ReplicaSet, duration time.Duration) {
    	key, err := controller.KeyFunc(rs)
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("couldn't get key for object %#v: %v", rs, err))
    		return
    	}
    
    	rsc.queue.AddAfter(key, duration)
    }
    
    func (rsc *ReplicaSetController) addRS(logger klog.Logger, obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions.mlir

    // CHECK-NEXT: %[[CONV2D_0:.*]] = "tf.Conv2D"(%arg0, %arg1)
    // CHECK-SAME: data_format = "NHWC", dilations = [1, 1, 1, 1], explicit_paddings = [], padding = "SAME", strides = [1, 1, 2, 1], use_cudnn_on_gpu = true
    // CHECK-SAME: attr_map = "0:strides,1:use_cudnn_on_gpu,2:padding,3:explicit_paddings,4:dilations"
    // CHECK-NEXT: %[[BIASADD_0:.*]] = "tf.BiasAdd"(%[[CONV2D_0]], %arg2)
    // CHECK-NEXT: %[[RELU6_0:.*]] = "tf.Relu6"(%[[BIASADD_0]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top