Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for const0_val (0.19 sec)

  1. src/cmd/compile/internal/ssa/func.go

    	if c {
    		i = 1
    	}
    	return f.constVal(OpConstBool, t, i, true)
    }
    func (f *Func) ConstInt8(t *types.Type, c int8) *Value {
    	return f.constVal(OpConst8, t, int64(c), true)
    }
    func (f *Func) ConstInt16(t *types.Type, c int16) *Value {
    	return f.constVal(OpConst16, t, int64(c), true)
    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            if (val.getType() == t) return val;
            return rewriter.create<tensor::CastOp>(op.getLoc(), t, val);
          };
          last_val[0] = maybe_cast(const_val, op.getResult(3).getType());
          last_val[1] = maybe_cast(const_val, op.getResult(4).getType());
        }
        rewriter.replaceOp(
            op, {/*x_backprop=*/x_backprop,
                 /*scale_backprop=*/scale_backprop,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top