Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 406 for onStop (0.57 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

        }
        rewriter.replaceOp(op, new_results);
        return success();
      }
    };
    
    class TFConstOpQuantToIntPattern : public OpConversionPattern<TF::ConstOp> {
     public:
      using OpConversionPattern::OpConversionPattern;
    
      LogicalResult matchAndRewrite(
          TF::ConstOp op, TF::ConstOpAdaptor adaptor,
          ConversionPatternRewriter &rewriter) const override {
        if (!IsIllegalType(op.getOutput().getType())) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

    } >&2
    
    # OS specific support (must be 'true' or 'false').
    cygwin=false
    msys=false
    darwin=false
    nonstop=false
    case "\$( uname )" in                #(
      CYGWIN* )         cygwin=true  ;; #(
      Darwin* )         darwin=true  ;; #(
      MSYS* | MINGW* )  msys=true    ;; #(
      NONSTOP* )        nonstop=true ;;
    esac
    
    CLASSPATH=$classpath
    <% if ( mainClassName.startsWith('--module ') ) { %>
    MODULE_PATH=$modulePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_var_init_by_const.cc

        if (isa<TF::VarHandleOp>(resource_operand.getDefiningOp()) &&
            isa<TF::ConstOp>(assigned_value_operand.getDefiningOp())) {
          return success();
        } else {
          return failure();
        }
      }
    
      void rewrite(TF::AssignVariableOp assign_op,
                   PatternRewriter& rewriter) const override {
        // `TF::ConstOp` and `TF::VarHandleOp` are not manually erased.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 03 12:04:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

        // CreateConstOpWithSingleValue. Also, make sure it works with QConst.
        return failure();
      }
    
      auto zero_bias = rewriter.create<TFL::ConstOp>(op->getLoc(), bias_attr);
      op->setOperand(bias_idx, zero_bias);
    
      return success();
    }
    
    TF::ConstOp PadConstValues(Operation* input_op, int value_to_pad,
                               int pad_dimensions, Location loc,
                               OpBuilder* builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc

                     .getOperation();
               });
    
      // mlir::TF::ConstOp
      py::class_<mlir::TF::ConstOp>(m, "Tf_ConstOp")
          .def("create",
               [](mlir::OpBuilder& opb, mlir::Location loc,
                  mlir::Attribute value) -> mlir::Operation* {
                 return opb.create<mlir::TF::ConstOp>(loc, value).getOperation();
               });
    
      // mlir::TF::EqualOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 02:12:49 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        auto begin = rewriter.create<TF::ConstOp>(slice_op.getLoc(),
                                                  slice_op.getStartIndices());
        auto end = rewriter.create<TF::ConstOp>(slice_op.getLoc(),
                                                slice_op.getLimitIndices());
        auto strides =
            rewriter.create<TF::ConstOp>(slice_op.getLoc(), slice_op.getStrides());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

            }
            operand = 0;
          }
    
          ShapedType type;
          float ratio_threshold = kBlockOverRandomSparsityRatio;
          if (isa<ConstOp>(inst)) {
            supported_block_size = sparse_op.GetFloatBlockSize();
            type = mlir::cast<ShapedType>(dyn_cast<ConstOp>(inst).getType());
          } else if (isa<QConstOp>(inst)) {
            supported_block_size = sparse_op.GetQuantizedBlockSize();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_launch_util_test.cc

                       .Input(FakeInput(DT_INT32))
                       .Attr("T", DT_INT32)
                       .Device("/job:localhost/replica:0/task:0/device:XLA_CPU:0")
                       .Finalize(node_def()));
      TF_EXPECT_OK(InitOp());
    
      // Add inputs.
      Tensor* a = CreateDeviceTensor<int32>(TensorShape({1, 3}), {1, 2, 3});
      Tensor* b = CreateDeviceTensor<int32>(TensorShape({1, 3}), {4, 5, 6});
      inputs_.push_back({nullptr, a});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      }];
    
      let arguments = (ins
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let assemblyFormat = "attr-dict";
    }
    
    def ConstOp: TensorflowMlrt_Op<"constop", []> {
      let summary = "The tf_mlrt ConstOp";
    
      let description = [{
        The ConstOp creates a constant tensorflow::Tensor from serialized proto.
      }];
    
      let arguments = (ins
        StrAttr:$tensor_proto
      );
    
      let results = (outs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.cc

        return "";
      }
    
      auto assigned_value_operand = assign_var_op.getOperand(1);
      auto const_op =
          llvm::dyn_cast<mlir::TF::ConstOp>(assigned_value_operand.getDefiningOp());
      if (!const_op) {
        assign_var_op->emitRemark(
            "Operand idx 1 is not a tf.ConstOp. The initializing tensor is not "
            "saved to checkpoint.");
        return "";
      }
    
      Tensor const_tensor{};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:36:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top