Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for resource_type (0.34 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/builder.go

    	}
    	switch {
    	case len(args) > 2:
    		b.names = append(b.names, args[1:]...)
    		b.ResourceTypes(SplitResourceArgument(args[0])...)
    	case len(args) == 2:
    		b.names = append(b.names, args[1])
    		b.ResourceTypes(SplitResourceArgument(args[0])...)
    	case len(args) == 1:
    		b.ResourceTypes(SplitResourceArgument(args[0])...)
    		if b.labelSelector == nil && allowEmptySelector {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go

    // watchIdentifier identifies group of watches that are similar.
    // As described in the "Priority and Fairness" KEP, we consider
    // watches similar if they have the same resourceType, namespace
    // and name. We ignore selectors as they have to be evaluated
    // when processing an even anyway.
    //
    // TODO: For now we only track the number of watches registered
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

                                                    const Type target,
                                                    const int axis) {
      const auto source_type = dyn_cast_or_null<ShapedType>(source.getValue());
      if (!source_type) return {};
      const auto src_ele_type = source_type.getElementType();
      auto qtype = dyn_cast<quant::QuantizedType>(src_ele_type);
    
      // Reset the quantization dimensions if it is per-axis.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. pkg/config/analysis/msg/messages.yaml

        description: "Deployments with `image: auto` should be targeted for injection."
        template: "%s %s contains `image: auto` but does not match any Istio injection webhook selectors."
        args:
          - name: resourceType
            type: string
          - name: resourceName
            type: string
    
      - name: "ImageAutoWithoutInjectionError"
        code: IST0147
        level: Error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

        type_attrs.push_back(TypeAttr::get(getElementTypeOrSelf(type)));
      }
    
      auto anonymous_iterator = builder.create<AnonymousIteratorV3Op>(
          reduce_dataset.getLoc(),
          RankedTensorType::get({}, builder.getType<ResourceType>()),
          /*output_types=*/builder.getArrayAttr(type_attrs),
          /*shape_types=*/builder.getArrayAttr(shape_attrs));
      builder.create<MakeIteratorOp>(reduce_dataset.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

    Value ReadLocalVariable(Value local_var, OpBuilder builder, Location loc) {
      return builder
          .create<TF::ReadVariableOp>(
              loc,
              ArrayRef<Type>{mlir::cast<TF::ResourceType>(
                                 getElementTypeOrSelf(local_var.getType()))
                                 .getSubtypes()[0]},
              ArrayRef<Value>{local_var})
          .getValue();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

    }
    
    // Helper function to avoid frequent checks for unknown IDs.
    const ResourceIdSet& GetResourceUniqueIdsOrUnknown(
        Value value,
        const ResourceAliasAnalysis::Info& alias_analysis) {
      if (!mlir::isa<TF::ResourceType>(getElementTypeOrSelf(value.getType())) ||
          alias_analysis.IsUnknownResource(value)) return UnknownResourceSet();
      return alias_analysis.GetResourceUniqueIds(value);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

        }
      }
      return true;
    }
    
    bool TypeMustBeNonXLA(const Type& type) {
      const Type elem = getElementTypeOrSelf(type);
      return !mlir::isa<TF::ResourceType>(elem) &&
             !tensorflow::TypeValidForXLA(type);
    }
    
    // Check if the op cannot be XLA compiled. If the op does not satisfy this
    // criteria, then it is possible for the op to be XLA and non-XLA. But this
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

      if (auto global_tensor = llvm::dyn_cast<GlobalTensorOp>(op)) {
        auto type = mlir::cast<TensorType>(global_tensor.getType());
        return RankedTensorType::get(
            {}, TF::ResourceType::get({type}, type.getContext()));
      }
    
      if (auto asset = llvm::dyn_cast<AssetOp>(op)) {
        return RankedTensorType::get({}, TF::StringType::get(asset.getContext()));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    
    namespace mlir {
    namespace {
    
    bool IsResource(Value value) {
      return mlir::isa<TF::ResourceType>(getElementTypeOrSelf(value.getType()));
    }
    
    // Checks if a cast op is casting a resource -> resource.
    bool IsCastOfResource(Operation &op) {
      auto cast = dyn_cast<TF::CastOp>(op);
      if (!cast) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top