Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,077 for constants_ (4.73 sec)

  1. src/go/types/conversions.go

    					cause = check.sprintf("constant %s overflows %s (in %s)", x.val, u, T)
    				} else {
    					cause = check.sprintf("cannot convert %s to type %s (in %s)", x, u, T)
    				}
    				return false
    			}
    			return true
    		})
    		x.mode = value // type parameters are not constants
    	case x.convertibleTo(check, T, &cause):
    		// non-constant conversion
    		ok = true
    		x.mode = value
    	}
    
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

          the second argument is the zero point constant (element type: int) and
          the third argument is the inverse scale constant (element type: float).
        * A tensor is dequantized using a `func::FuncOp` whose name contains
          "uniform_dequantize". The first argument is the tensor to be quantized,
          the second argument is the zero point constant (element type: int) and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

      auto one_cst =
          rewriter.create<stablehlo::ConstantOp>(rewriter.getUnknownLoc(), one_val);
    
      auto half_val = DenseElementsAttr::get(type, kHalf);
      auto half_cst =
          rewriter.create<stablehlo::ConstantOp>(one_cst.getLoc(), half_val);
    
      auto one_over_root2_val = DenseElementsAttr::get(type, kOneOverRoot2);
      auto one_over_root2_cst = rewriter.create<stablehlo::ConstantOp>(
          half_cst.getLoc(), one_over_root2_val);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/simple.mlir

    // TODO(b/329300758): add file check back after the cl is fixed | FileCheck %s
    // Check a few basic properties of the import-export,
    // including constants retaining their shape
    // and the module including the TFLite version.
    
    func.func @main(tensor<3x2xi32>) -> tensor<3x2xi32> {
    ^bb0(%arg0: tensor<3x2xi32>):
      // CHECK: module attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/builtins.go

    			return
    		}
    
    		// if both arguments are constants, the result is a constant
    		if x.mode == constant_ && y.mode == constant_ {
    			x.val = constant.BinaryOp(constant.ToFloat(x.val), token.ADD, constant.MakeImag(constant.ToFloat(y.val)))
    		} else {
    			x.mode = value
    		}
    
    		if check.recordTypes() && x.mode != constant_ {
    			check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

        // Cannot use the pattern rewriter because the driver applies folders by
        // default.
        module.walk([&](mhlo::ConstantOp const_op) {
          UnfoldSplatConstant(&op_builder, const_op);
        });
      }
    
     private:
      void UnfoldSplatConstant(mlir::OpBuilder* op_builder,
                               mhlo::ConstantOp const_op) const {
        auto splat_elements_attr =
            mlir::dyn_cast<SplatElementsAttr>(const_op.getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

    import javax.annotation.Resource;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.net.URLUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.web.base.FessSearchAction;
    import org.codelibs.fess.app.web.error.ErrorAction;
    import org.codelibs.fess.crawler.util.CharUtil;
    import org.codelibs.fess.es.log.exentity.ClickLog;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    	case constant.Float:
    		i := constant.ToInt(x)
    		if i.Kind() != constant.Int {
    			v, _ := constant.Float64Val(x)
    			return v
    		}
    		x = i
    		fallthrough
    	case constant.Int:
    		if v, ok := constant.Int64Val(x); ok {
    			return v
    		}
    		if v, ok := constant.Uint64Val(x); ok {
    			return v
    		}
    	case constant.String:
    		return constant.StringVal(x)
    	case constant.Bool:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

            changed = true;
          }
        }
        return changed;
      }
    
      // Convert ConstantOp-CastOp-Operation sequence into new ConstantOp
      // -Dequantize-Operation where the new ConstantOp has float16 data type.
      bool convertToFloat16Constant(PatternRewriter& rewriter,
                                    arith::ConstantOp op) const {
        for (auto connected_op : op.getResult().getUsers()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/conversions.go

    					cause = check.sprintf("constant %s overflows %s (in %s)", x.val, u, T)
    				} else {
    					cause = check.sprintf("cannot convert %s to type %s (in %s)", x, u, T)
    				}
    				return false
    			}
    			return true
    		})
    		x.mode = value // type parameters are not constants
    	case x.convertibleTo(check, T, &cause):
    		// non-constant conversion
    		ok = true
    		x.mode = value
    	}
    
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top