Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 278 for getOperation (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

      llvm::SmallVector<TF::TPUReplicateMetadataOp, 4> metadata;
      getOperation()->walk(
          [&metadata](TF::TPUReplicateMetadataOp op) { metadata.push_back(op); });
    
      IntegerAttr num_cores_per_replica;
      if (metadata.size() == 1) {
        num_cores_per_replica = metadata.front().getNumCoresPerReplicaAttr();
      }
    
      auto result = getOperation()->walk([&num_cores_per_replica](Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc

      target.addLegalDialect<TFL::TensorFlowLiteDialect>();
      target.addLegalDialect<arith::ArithDialect>();
    
      if (failed(applyPartialConversion(getOperation(), target,
                                        std::move(patterns)))) {
        getOperation().emitError("Composite lowering pass failed.");
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    // Creates an instance of the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

      LogicalResult matchAndRewrite(OpTy op,
                                    PatternRewriter& rewriter) const override {
        if (op.getOperation()->template hasTrait<OpTrait::IsTerminator>()) {
          return failure();
        }
        for (auto result : op.getOperation()->getOpResults()) {
          if (!result.use_empty()) {
            return failure();
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. tests/integration/telemetry/api/testdata/attributegen.yaml

        - output_attribute: istio_responseClass
          match:
          - value: 2xx
            condition: response.code >= 200 && response.code <= 299
        - output_attribute: istio_operationId
          match:
          - value: getoperation
            condition: request.method == 'GET'
        - output_attribute: istio_grpcResponseStatus
          match:
          - value: OK
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 00:53:57 UTC 2024
    - 639 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc

            f.removeResultAttr(i, a.getName());
          }
        }
      }
    }
    
    void AddFunctionsForExportedNamesPass::runOnOperation() {
      Block& module_body = getOperation().getRegion().front();
      for (auto f :
           llvm::make_early_inc_range(getOperation().getOps<func::FuncOp>())) {
        auto exported_names = GetExportedNames(f);
        if (exported_names.empty() || !f.isPublic()) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go

    	// going to change the object, and attr.Object will be a DeleteOptions
    	// rather than a namespace object.
    	if attr.GetResource().Resource == "namespaces" &&
    		len(attr.GetSubresource()) == 0 &&
    		(attr.GetOperation() == admission.Create || attr.GetOperation() == admission.Update) {
    		accessor, err := meta.Accessor(attr.GetObject())
    		if err != nil {
    			return nil, err
    		}
    		return accessor.GetLabels(), nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/operations/BuildOperationFailure.java

        }
    
        protected BuildOperationFailure(BuildOperation operation, String message, Throwable cause) {
            super(message, cause);
            this.operation = operation;
        }
    
        public BuildOperation getOperation() {
            return operation;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

        }
      }
    }
    
    void TpuV1BridgeExecutorIslandCoarsening::runOnOperation() {
      SymbolTable symbol_table(getOperation());
    
      // Map tpu cluster names to the functions that contain operations for this
      // cluster.
      DenseMap<StringRef, DenseSet<func::FuncOp>> tpu_funcs;
      for (func::FuncOp func_op : getOperation().getOps<func::FuncOp>()) {
        func_op.walk([&](Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc

                            .getOperation();
      tpu_copy_with_dynamic_shape_op->moveBefore(return_op);
      return success();
    }
    
    // Update all the usage of tf_device.return op with launch op result.
    void UpdateReturnOpResultWithLaunchOpResult(tf_device::LaunchOp* launch_op) {
      auto operand_not_in_launch = [&](OpOperand& operand) {
        return !launch_op->getOperation()->isProperAncestor(operand.getOwner());
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

      operands.push_back(operand);
      auto new_op = builder->create<OpT>(op->getLoc(), op->getResultTypes(),
                                         operands, attr.getAttrs());
      op->replaceAllUsesWith(new_op.getOperation()->getResults());
      op->erase();
      return new_op;
    }
    
    // Returns success if the function has at most one op of the template type and
    // assigns it to `result`, if present. If there are multiple such ops, returns
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top