Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for get_attr (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    	return storage.SelectionPredicate{
    		Label:    labels.Everything().Add(*l),
    		Field:    fields.Everything(),
    		GetAttrs: getPodAttrs,
    	}
    }
    
    func matchEverything() storage.SelectionPredicate {
    	return storage.SelectionPredicate{
    		Label: labels.Everything(),
    		Field: fields.Everything(),
    		GetAttrs: func(obj runtime.Object) (label labels.Set, field fields.Set, err error) {
    			return nil, nil, nil
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        // folding), but we can still derive the shape of a constant tensor for
        // its attribute type.
        auto tensor_attr = mlir::cast<mlir::TypedAttr>(inst->getAttr("value"));
        llvm::ArrayRef<int64_t> shape_ref =
            mlir::cast<TensorType>(tensor_attr.getType()).getShape();
        if (mlir::failed(check_shape(shape_ref))) return std::nullopt;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top