Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for resource_type (0.2 sec)

  1. internal/arn/arn_test.go

    			arn: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio:iam:us-east-1::role/my-role",
    		},
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio::us-east-1::role/my-role",
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. internal/arn/arn.go

    		Region:       serverRegion,
    		ResourceType: arnResourceTypeRole,
    		ResourceID:   resourceID,
    	}, nil
    }
    
    // String - returns string representation of the ARN.
    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    			arn.Service,
    			arn.Region,
    			"", // account-id is always empty in this implementation
    			arn.ResourceType + "/" + arn.ResourceID,
    		},
    		":",
    	)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. operator/pkg/translate/translate.go

    			"Components.{{.ComponentName}}.K8S.PriorityClassName":   {OutPath: "[{{.ResourceType}}:{{.ResourceName}}].spec.template.spec.priorityClassName."},
    			"Components.{{.ComponentName}}.K8S.ReadinessProbe":      {OutPath: "[{{.ResourceType}}:{{.ResourceName}}].spec.template.spec.containers.[name:{{.ContainerName}}].readinessProbe"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

      } else {
        first_operand_type = op.getOperand().getType();
      }
    
      auto element_type = getElementTypeOrSelf(first_operand_type);
      if (mlir::isa<TF::ResourceType>(element_type)) {
        first_operand_type =
            mlir::cast<TF::ResourceType>(element_type).getSubtypes().front();
      }
    
      auto tensor_type = mlir::dyn_cast_or_null<TensorType>(first_operand_type);
      if (!(tensor_type && tensor_type.hasRank())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

      }
    
      for (mlir::Value arg : getArgs()) {
        if (mlir::isa<mlir::TF::ResourceType>(
                mlir::getElementTypeOrSelf(arg.getType()))) {
          return emitOpError()
                 << "does not support passing '!tf.resource' values as arguments";
        }
      }
    
      for (mlir::Value result : getResults()) {
        if (mlir::isa<mlir::TF::ResourceType>(
                mlir::getElementTypeOrSelf(result.getType()))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

      llvm::BitVector removed_params(num_params);
      // Copy the resource-type parameters to the end.
      for (unsigned i = 0; i < num_params; ++i) {
        BlockArgument param = callee.getArgument(i);
        if (mlir::isa<TF::ResourceType>(getElementTypeOrSelf(param.getType()))) {
          removed_params.set(i);
          callee.getBody().addArgument(param.getType(), param.getLoc());
          param.replaceAllUsesWith(callee.getArguments().back());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

    };
    
    // Returns the type of the local variable for the stack size.
    Type GetSizeVarType(OpBuilder builder) {
      auto size_type = cutil::GetSizeType(builder);
      return RankedTensorType::get(
          {}, TF::ResourceType::get(ArrayRef<TensorType>{size_type},
                                    builder.getContext()));
    }
    
    // Returns the aliasing argument number of a fucntion return value if it simply
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

        // unwrap until we get to the inner tensor<...>.
        auto tensor =
            llvm::dyn_cast<TensorType>(var_handle_op.getResource().getType());
        if (!tensor) return nullptr;
        TF::ResourceType resource =
            llvm::dyn_cast<TF::ResourceType>(tensor.getElementType());
        if (!resource || resource.getSubtypes().size() != 1) return nullptr;
        return resource.getSubtypes().front();
      } else if (auto global_tensor_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. istioctl/pkg/util/handlers/handlers.go

    func inferNsInfo(name, namespace string) (string, string) {
    	if idx := strings.LastIndex(name, "/"); idx > 0 {
    		// If there is a / in it, we need to handle differently. This is resourcetype/name.namespace.
    		// However, resourcetype can have . in it as well, so we should only look for namespace after the /.
    		separator := strings.LastIndex(name[idx:], ".")
    		if separator < 0 {
    			return name, namespace
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

          if (!global_tensor) continue;
    
          auto arg_type = mlir::cast<RankedTensorType>(arg.getType());
          assert(arg_type.getRank() == 0);
          llvm::ArrayRef<TensorType> underlying_type =
              mlir::cast<TF::ResourceType>(arg_type.getElementType()).getSubtypes();
    
          // If the arg type already matches the global_tensor type, we don't need
          // to do anything.
          if (!underlying_type.empty() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top