Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 47 of 47 for constexpr (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "xla/client/sharding_builder.h"
    #include "xla/service/hlo_parser.h"
    #include "xla/xla_data.pb.h"
    
    namespace tensorflow {
    namespace {
    
    constexpr char kNumSplitAttr[] = "num_split";
    
    // Creates a tf::SplitOp that splits 'src_input' into 'num_splits' ways
    // in 'split_dimension' dimension and returns the split values.
    mlir::LogicalResult CreateSplitOp(const int num_split,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

    tensorflow::string* g_test_model_dir = nullptr;
    }  // namespace
    
    namespace tflite {
    namespace optimize {
    namespace {
    
    using mlir::lite::BufferType;
    using mlir::lite::CustomOpMap;
    using mlir::lite::QuantizeWeights;
    constexpr bool kUseUpdatedHybridSchemeDefault = true;
    
    std::unique_ptr<ModelT> CreateMutableModelFromFile(const Model* input_model) {
      auto copied_model = std::make_unique<ModelT>();
      input_model->UnPackTo(copied_model.get(), nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    // Use initial buffer size in flatbuffer builder to be same as the initial size
    // used by the TOCO export. (It does not explain rationale for this choice.)
    constexpr size_t kInitialBufferSize = 10240;
    
    // Flatbuffer fields to be padded to 16 bytes aligned.
    constexpr size_t kFbAlignment = 16;
    
    // Set `isSigned` to false if the `type` is an 8-bit unsigned integer type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    using mlir::Value;
    using mlir::func::FuncOp;
    using tflite::OperatorT;
    using tflite::TensorT;
    
    namespace errors = tensorflow::errors;
    namespace tfl = mlir::TFL;
    
    namespace {
    
    constexpr char kScatterRegionFuncName[] = "update_computation_func_name";
    
    using ::mlir::tf_saved_model::kTfSavedModelExportedNamesAttr;
    using ::mlir::tf_saved_model::kTfSavedModelIndexPathAttr;
    using ::tflite::IsValidBufferOffset;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

        }
    
        private fun getExpectedTypeByTypeCast(expression: PsiElement): KaType? {
            val typeCastExpression =
                expression.unwrapQualified<KtBinaryExpressionWithTypeRHS> { castExpr, expr -> castExpr.left == expr } ?: return null
            return getKtExpressionType(typeCastExpression)
        }
    
        private fun getExpectedTypeOfFunctionParameter(expression: PsiElement): KaType? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/func.go

    // reference of a func. If so, it returns referenced Func; otherwise nil.
    //
    // This is only usable before walk.walkConvertInterface, which converts to an
    // OMAKEFACE.
    func IsIfaceOfFunc(n Node) *Func {
    	if n, ok := n.(*ConvExpr); ok && n.Op() == OCONVIFACE {
    		if name, ok := n.X.(*Name); ok && name.Op() == ONAME && name.Class == PFUNC {
    			return name.Func
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/ssa.go

    	switch n.Op() {
    	case ir.OBYTES2STRTMP:
    		n := n.(*ir.ConvExpr)
    		slice := s.expr(n.X)
    		ptr := s.newValue1(ssa.OpSlicePtr, s.f.Config.Types.BytePtr, slice)
    		len := s.newValue1(ssa.OpSliceLen, types.Types[types.TINT], slice)
    		return s.newValue2(ssa.OpStringMake, n.Type(), ptr, len)
    	case ir.OSTR2BYTESTMP:
    		n := n.(*ir.ConvExpr)
    		str := s.expr(n.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top