Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for ret_attrs (0.16 sec)

  1. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

          grad, axis=reduction_axes, keepdims=True)
      bias_grad = tf.reshape(updates_grad_reshaped, input_value_shape)
    
      dilations = [1, op.get_attr('dilation_w'), op.get_attr('dilation_h'), 1]
      strides = [1, op.get_attr('stride_w'), op.get_attr('stride_h'), 1]
      padding = op.get_attr('padding')
      shape_0, shape_1 = tf.shape_n([op.inputs[0], op.inputs[1]])
      return [
          tf.compat.v1.nn.conv2d_backprop_input(
              shape_0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

        nested_module->emitOpError("unexpected already present outlined module.");
        return signalPassFailure();
      }
      ModuleOp outlined_module = ModuleOp::create(getOperation().getLoc());
      outlined_module->setAttrs(getOperation()->getAttrDictionary());
      outlined_module->setAttr(SymbolTable::getSymbolAttrName(),
                               StringAttr::get(ctx, kNestedModule));
      symbol_table.insert(outlined_module);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. pkg/registry/resource/resourceclassparameters/strategy.go

    func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:    label,
    		Field:    field,
    		GetAttrs: GetAttrs,
    	}
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	parameters, ok := obj.(*resource.ResourceClassParameters)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. pkg/registry/resource/resourceclaimparameters/strategy.go

    func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:    label,
    		Field:    field,
    		GetAttrs: GetAttrs,
    	}
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	parameters, ok := obj.(*resource.ResourceClaimParameters)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. pkg/registry/resource/resourceclaim/strategy.go

    func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:    label,
    		Field:    field,
    		GetAttrs: GetAttrs,
    	}
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	claim, ok := obj.(*resource.ResourceClaim)
    	if !ok {
    		return nil, nil, errors.New("not a resourceclaim")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. pkg/registry/resource/podschedulingcontext/strategy.go

    func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label:    label,
    		Field:    field,
    		GetAttrs: GetAttrs,
    	}
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	scheduling, ok := obj.(*resource.PodSchedulingContext)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. pkg/registry/resource/resourceslice/strategy.go

    	slice, ok := obj.(*resource.ResourceSlice)
    	if !ok {
    		return nil, fmt.Errorf("not a ResourceSlice")
    	}
    	return []string{slice.NodeName}, nil
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	slice, ok := obj.(*resource.ResourceSlice)
    	if !ok {
    		return nil, nil, fmt.Errorf("not a ResourceSlice")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/ir/tfr_types.h

        std::uninitialized_copy(key.begin(), key.end(),
                                result->getTrailingObjects<StringAttr>());
        return result;
      }
    
      bool operator==(const KeyTy& attrs) const { return attrs == GetAttrs(); }
    
      KeyTy GetAttrs() const {
        return {getTrailingObjects<StringAttr>(), num_attrs};
      }
    
      unsigned num_attrs;
    };
    
    template <typename Derived>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    	Field               fields.Selector
    	GetAttrs            AttrFunc
    	IndexLabels         []string
    	IndexFields         []string
    	Limit               int64
    	Continue            string
    	AllowWatchBookmarks bool
    }
    
    // Matches returns true if the given object's labels and fields (as
    // returned by s.GetAttrs) match s.Label and s.Field. An error is
    // returned if s.GetAttrs fails.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pkg/registry/core/persistentvolume/strategy.go

    func (persistentvolumeStatusStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {
    	return nil
    }
    
    // GetAttrs returns labels and fields of a given object for filtering purposes.
    func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {
    	persistentvolumeObj, ok := obj.(*api.PersistentVolume)
    	if !ok {
    		return nil, nil, fmt.Errorf("not a persistentvolume")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top