Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for Operands (0.27 sec)

  1. src/math/big/nat.go

    func karatsubaSub(z, x nat, n int) {
    	if c := subVV(z[0:n], z, x); c != 0 {
    		subVW(z[n:n+n>>1], z[n:], c)
    	}
    }
    
    // Operands that are shorter than karatsubaThreshold are multiplied using
    // "grade school" multiplication; for longer operands the Karatsuba algorithm
    // is used.
    var karatsubaThreshold = 40 // computed by calibrate_test.go
    
    // karatsuba multiplies x and y and leaves the result in z.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

    import org.jetbrains.kotlin.resolve.constants.evaluate.evalUnaryOp
    import org.jetbrains.kotlin.types.ConstantValueKind
    
    /**
     * An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver
     * and the argument, are compile-time constant as well.
     */
    internal object FirCompileTimeConstantEvaluator {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        for (auto operand_and_idx : llvm::enumerate(fetch.getOperands())) {
          Value operand = operand_and_idx.value();
          if (mlir::isa<mlir::tf_executor::ControlType>(operand.getType())) break;
    
          auto* dst_node = returns_[fetch][operand_and_idx.index()];
          TF_RETURN_IF_ERROR(AddEdgeBetweenNodes(operand, dst_node, 0));
        }
    
        return absl::OkStatus();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                is KtVariableDeclaration ->
                    parent.initializer == child
    
                // Binary expressions always use both operands.
                is KtBinaryExpression ->
                    parent.left == child || parent.right == child
    
                // Binary expressions with type RHS always use its operand.
                is KtBinaryExpressionWithTypeRHS ->
                    parent.left == child
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

      main_body.push_back(main_fetch_op->clone(mapper));
    
      // Clone the source's FetchOp, but do not push to the main function's body.
      // The clone is only needed to identify the fetch operands.
      auto cloned_fetch_op = cast<FetchOp>(src_graph_op.GetFetch()->clone(mapper));
      const absl::Cleanup erase_cloned_fetch_op = [cloned_fetch_op]() mutable {
        cloned_fetch_op.erase();
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. test/codegen/shift.go

    }
    
    // 128 bit shifts
    
    func check128bitShifts(x, y uint64, bits uint) (uint64, uint64) {
    	s := bits & 63
    	ŝ := (64 - bits) & 63
    	// check that the shift operation has two commas (three operands)
    	// amd64:"SHRQ.*,.*,"
    	shr := x>>s | y<<ŝ
    	// amd64:"SHLQ.*,.*,"
    	shl := x<<s | y>>ŝ
    	return shr, shl
    }
    
    func checkShiftToMask(u []uint64, s []int64) {
    	// amd64:-"SHR",-"SHL","ANDQ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/check_test.go

    }
    
    func withSizes(sizes Sizes) func(*Config) {
    	return func(cfg *Config) {
    		cfg.Sizes = sizes
    	}
    }
    
    // TestIndexRepresentability tests that constant index operands must
    // be representable as int even if they already have a type that can
    // represent larger values.
    func TestIndexRepresentability(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/typexpr.go

    		typ := new(Map)
    		setDefType(def, typ)
    
    		typ.key = check.varType(e.Key)
    		typ.elem = check.varType(e.Value)
    
    		// spec: "The comparison operators == and != must be fully defined
    		// for operands of the key type; thus the key type must not be a
    		// function, map, or slice."
    		//
    		// Delay this check because it requires fully setup types;
    		// it is safe to continue in any case (was go.dev/issue/6667).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          mlir::TFDevice::CreateDecomposeResourceOpsPass());
      pm.addPass(mlir::TF::CreatePromoteResourcesToArgsPass());
      pm.addPass(mlir::createSymbolDCEPass());
    
      // Sink constants to regions so that ops requiring constant operands can
      // access the constant and there is no indirection through control flow region
      // arguments. Also, note that this pass is in MHLO but it is generic and sinks
      // constants for all ops with regions.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

      import_config.control_outputs = *control_ret_node_names;
      import_config.upgrade_legacy = true;
      // Disable shape inference during import as some TensorFlow op fails during
      // shape inference with dynamic shaped operands. This in turn causes the
      // import to fail. Shape inference during import is going to be removed and
      // the shape inference pass is run early in the pass pipeline, shape inference
      // during import is not necessary.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top