Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for removeStar (0.16 sec)

  1. istioctl/pkg/tag/tag.go

    		if err != nil {
    			return err
    		}
    		// nolint
    		return fmt.Errorf("creating tag would conflict, pass --skip-confirmation to proceed:\n%v\n", o)
    	}
    	return nil
    }
    
    // removeTag removes an existing revision tag.
    func removeTag(ctx context.Context, kubeClient kubernetes.Interface, tagName string, skipConfirmation bool, w io.Writer) error {
    	webhooks, err := GetWebhooksWithTag(ctx, kubeClient, tagName)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        AddCallOpInWhileOpRegion(while_op.getCond(), cond);
        while_op->removeAttr("cond");
        auto body = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("body").cast<mlir::FlatSymbolRefAttr>().getValue());
        AddCallOpInWhileOpRegion(while_op.getBody(), body);
        while_op->removeAttr("body");
      });
    }
    
    void AddRegionsForStableHLOOp(mlir::ModuleOp module) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc

        auto global_tensor = kv.first;
        const auto& global_tensor_uses = kv.second;
        if (IsImmutable(global_tensor, global_tensor_uses, resource_analyzer)) {
          global_tensor->removeAttr("is_mutable");
        }
      }
    }
    
    void EraseUnusedGlobalTensors(ModuleOp module,
                                  const GlobalTensorUsesMap& global_tensor_uses) {
      for (auto global_tensor :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

        }
    
        // The OK status means this op is quantizable. Return failure since the
        // pattern doesn't rewrite anything yet.
        if (check_status.ok()) return failure();
        call_op->removeAttr(kQuantTraitAttrName);
        removeAttrMapAttribute(call_op, function_name, check_status.message());
        return success();
      }
    
      // Get the quantization method to apply to this composite function. If set,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_update_embedding_enqueue_op_inputs.cc

      if (!embedding_op_map->insert({embedding_attr.getValue(), op}).second)
        return op->emitOpError(
            "found duplicate TPU embedding ops potentially from multiple "
            "TPUEmbedding layers");
    
      op->removeAttr(kTPUEmbeddingAttr);
      return success();
    }
    
    LogicalResult FindTPUEmbeddingOps(
        func::FuncOp func_op, llvm::StringMap<Operation*>* enqueue_op_map,
        llvm::StringMap<Operation*>* recv_activation_op_map,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

      // nested ops.
      for (Operation* cluster_op : cluster_ops) {
        cluster_op->moveBefore(body, body->end());
        cluster_op->walk([&](Operation* inner_op) {
          inner_op->removeAttr(mlir::TF::kReplicationInfoAttr);
          inner_op->removeAttr(mlir::TF::kCompileDeviceTypeAttr);
    
          if (auto attr = inner_op->getAttrOfType<StringAttr>(kDeviceAttr)) {
            // Preserve device attribute if the op is placed on a replicated core
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc

      // "device" attribute since launch op already carries device information.
      Block* block = &region.front();
      for (Operation* op : c.ops) {
        op->moveBefore(block, block->end());
        op->removeAttr(builder->getStringAttr("device"));
      }
    
      // Get all escaped live-out values of region, they are used later to determine
      // return values and types of launch op.
      llvm::SmallVector<Value, 4> live_outs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 13:30:21 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_filter.cc

        if (type == FunctionFilter::SKIP_TARGET_ANNOTATION) {
          op.setAttr(kSkipTargetAnnotation, builder.getUnitAttr());
        } else if (type == FunctionFilter::INCLUDE_TARGET_ANNOTATION) {
          op.removeAttr(kSkipTargetAnnotation);
        }
      }
    }
    
    void ApplyTacFilter(ModuleOp module, const TacFilter& tac_filter,
                        SmallVector<Operation*>& filtered_ops, OpBuilder& builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

      std::string func_name;
      if (auto outlined_func_name = op->template getAttrOfType<StringAttr>(
              TF::kClusterOutlinedFunctionNameAttr)) {
        op->removeAttr(TF::kClusterOutlinedFunctionNameAttr);
        func_name = outlined_func_name.str();
      } else {
        func_name = "_func";
      }
    
      func::FuncOp outlined_func =
          func::FuncOp::create(op.getLoc(), func_name, func_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

              << "quant-stablehlo-lift-quantizable-spots-as-functions failed.";
          signalPassFailure();
        }
      }
    
      // Remove all attr_map attributes.
      module_op.walk([](Operation* op) { op->removeAttr(kAttrMapAttribute); });
    
      // Perform selective quantization. Iterates over the quantization specs and
      // applies quantization methods to each matched lifted function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top