Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for OP (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    LogicalResult ShapeNOp::verify() {
      ShapeNOp op = *this;
      const size_t num_tensors = op.getN();
    
      if (op.getNumOperands() != num_tensors)
        return op.emitOpError() << "requires " << num_tensors << " operand(s), got "
                                << op.getNumOperands() << " operand(s)";
    
      if (op.getNumResults() != num_tensors)
        return op.emitOpError() << "requires " << num_tensors << " result(s), got "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    }
    
    // Returns true if the op creates a TensorList.
    bool IsTensorListInitOp(Operation* op) {
      return isa<TensorListReserveOp>(op) || isa<EmptyTensorListOp>(op) ||
             isa<TensorListFromTensorOp>(op);
    }
    
    // Returns the `element_shape` operand of the ops that create a TensorList.
    Value GetElementShapeOperand(Operation* op) {
      if (auto empty_tl = dyn_cast<EmptyTensorListOp>(op))
        return empty_tl.getElementShape();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		}
    	}
    
    	if op != nil {
    		ps.writeString(op.Name)
    		if ps.llvmStyle && op.Name == "noexcept" {
    			ps.writeByte(' ')
    		}
    	} else if c, ok := u.Op.(*Cast); ok {
    		ps.startScope('(')
    		ps.print(c.To)
    		ps.endScope(')')
    	} else {
    		ps.print(u.Op)
    	}
    
    	if !u.Suffix {
    		isDelete := op != nil && (op.Name == "delete " || op.Name == "delete[] ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Add64 (Add64 i:(Const64 <t>) z) x) && (z.Op != OpConst64 && x.Op != OpConst64) => (Add64 i (Add64 <t> z x))
    (Add32 (Add32 i:(Const32 <t>) z) x) && (z.Op != OpConst32 && x.Op != OpConst32) => (Add32 i (Add32 <t> z x))
    (Add16 (Add16 i:(Const16 <t>) z) x) && (z.Op != OpConst16 && x.Op != OpConst16) => (Add16 i (Add16 <t> z x))
    (Add8  (Add8  i:(Const8  <t>) z) x) && (z.Op != OpConst8  && x.Op != OpConst8)  => (Add8  i (Add8  <t> z x))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        }
    
        // CustomTfOp is just a wrapper around a TF op, we export the custom Op
        // not the wrapper, so we fetch the op from the region.
        if (auto custom_op = dyn_cast<mlir::TFL::CustomTfOp>(inst)) {
          // If we have custom op with a region, then use the first op in the
          // region, if it exists, otherwise just use params for custom op.
          if (!custom_op.getBody().empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/asm6.go

    				ab.asmvex(ctxt, &p.From, p.GetFrom3(), &p.To, o.op[z], o.op[z+1])
    				ab.asmando(ctxt, cursym, p, &p.From, int(o.op[z+2]))
    
    			case Zvex_i_rm_vo:
    				ab.asmvex(ctxt, p.GetFrom3(), &p.To, nil, o.op[z], o.op[z+1])
    				ab.asmando(ctxt, cursym, p, p.GetFrom3(), int(o.op[z+2]))
    				ab.Put1(byte(p.From.Offset))
    
    			case Zvex_i_r_v:
    				ab.asmvex(ctxt, p.GetFrom3(), &p.To, nil, o.op[z], o.op[z+1])
    				regnum := byte(0x7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/ops.mlir

      // expected-error @+1 {{op failed to verify that params and output must have same element type}}
      %0 = "tfl.gather"(%arg0, %arg1) {axis = 1 : i32}: (tensor<?xi32>,tensor<?xi32>) -> tensor<?xf32>
      func.return %0 : tensor<?xf32>
    }
    
    // -----
    
    func.func @testGatherUnsupportedRank(%arg0 : tensor<f32>, %arg1 : tensor<1xi32>) -> tensor<?xf32> {
      // expected-error @+1 {{op failed to verify that operand 0 is 1-D}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let summary = "Wrapper Op for TF custom ops.";
    
      let description = [{
        A wrapper op around any Custom TF op. These includes ops defined using
        custom_opdefs or linked which are not defined in TF dialect.
        This Op just wraps the custom op inside a region.
        Note #1, this Op will not include TF Lite custom ops defined using CustomOp.
        Note #2, this op is just internal representation inside the converter and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary = "Decomposes ReduceDataset op into dataset operations.";
    
      let description = [{
        Decomposes ReduceDataset op into a while loop that iterates the dataset and calls
        into the reduction function.  This decomposition is only done if the
        ReduceDataset op is marked for compilation with the _xla_compile_device_type
        attribute.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/ppc64/asm9.go

    	c2 := &xcmp[a2]
    	c3 := &xcmp[a3]
    	c4 := &xcmp[a4]
    	c5 := &xcmp[a5]
    	c6 := &xcmp[a6]
    	for i := range ops {
    		op := &ops[i]
    		if c1[op.a1] && c2[op.a2] && c3[op.a3] && c4[op.a4] && c5[op.a5] && c6[op.a6] {
    			p.Optab = uint16(cap(optab) - cap(ops) + i + 1)
    			return op
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
Back to top