Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,436 for Const8 (0.17 sec)

  1. src/runtime/defs_freebsd.go

    #include <sys/param.h>
    #include <sys/vdso.h>
    */
    import "C"
    
    // Local consts.
    const (
    	_NBBY            = C.NBBY            // Number of bits in a byte.
    	_CTL_MAXNAME     = C.CTL_MAXNAME     // Largest number of components supported.
    	_CPU_LEVEL_WHICH = C.CPU_LEVEL_WHICH // Actual mask/id for which.
    	_CPU_WHICH_PID   = C.CPU_WHICH_PID   // Specifies a process id.
    )
    
    const (
    	EINTR     = C.EINTR
    	EFAULT    = C.EFAULT
    	EAGAIN    = C.EAGAIN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

    }
    
    }  // namespace
    
    absl::Status CompileTensorflowGraphToHlo(
        const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs>& computation,
        const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args,
        const XlaShapeLayoutHelpers::ShapeDeterminationFns
            shape_determination_funcs,
        const std::vector<tensorflow::TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      // CHECK: %[[CONST1:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
      %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // CHECK: %[[SUB:.*]] = "tf.Sub"(%[[BARG1]], %[[CONST1]])
      %sub = "tf.Sub"(%arg1, %const1) : (tensor<i32>, tensor<i32>) -> tensor<i32>
      %elem = "tf._SomeOp"() : () -> tensor<3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	for {
    		val := auxIntToFloat64(v.AuxInt)
    		v.reset(OpMIPS64MOVDconst)
    		v.AuxInt = float64ToAuxInt(float64(val))
    		return true
    	}
    }
    func rewriteValueMIPS64_OpConst8(v *Value) bool {
    	// match: (Const8 [val])
    	// result: (MOVVconst [int64(val)])
    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		v0.AuxInt = int64ToAuxInt(int64(math.Float64bits(val)))
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueRISCV64_OpConst8(v *Value) bool {
    	// match: (Const8 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/conversions0.go

    )
    
    // numeric constant conversions are in const1.src.
    
    func string_conversions() {
    	const A = string(65)
    	assert(A == "A")
    	const E = string(-1)
    	assert(E == "\uFFFD")
    	assert(E == string(1234567890))
    
    	type myint int
    	assert(A == string(myint(65)))
    
    	type mystring string
    	const _ mystring = mystring("foo")
    
    	const _ = string(true /* ERROR "cannot convert" */ )
    	const _ = string(1.2 /* ERROR "cannot convert" */ )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/constdecl.go

    package constdecl
    
    import "math"
    import "unsafe"
    
    var v int
    
    // Const decls must be initialized by constants.
    const _ = v /* ERROR "not constant" */
    const _ = math /* ERROR "not constant" */ .Sin(0)
    const _ = int /* ERROR "not an expression" */
    
    func _() {
    	const _ = v /* ERROR "not constant" */
    	const _ = math /* ERROR "not constant" */ .Sin(0)
    	const _ = int /* ERROR "not an expression" */
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/build_xla_ops_pass.cc

    absl::StatusOr<Node*> ReplaceFunctionCallWithPartitionedCall(
        const GraphOptimizationPassOptions& options,
        const FunctionLibraryDefinition& flib_def, Node* n, Graph* g,
        const NameAttrList& func, const Scope& root) {
      string config_string = options.session_options->config.SerializeAsString();
    
      int input_count = absl::c_count_if(
          n->in_edges(), [](const Edge* e) { return !e->IsControlEdge(); });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue20185.go

    // license that can be found in the LICENSE file.
    
    // Issue 20185: type switching on untyped values (e.g. nil or consts)
    // caused an internal compiler error.
    
    package p
    
    func F() {
    	switch t := nil.(type) { // ERROR "cannot type switch on non-interface value|not an interface"
    	default:
    		_ = t
    	}
    }
    
    const x = 1
    
    func G() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:10:19 UTC 2022
    - 581 bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/sha3/shake.go

    	// by the method specified in 3.3 of [1].
    	// It is stored here in order for Reset() to be able to put context into
    	// initial state.
    	initBlock []byte
    }
    
    // Consts for configuring initial SHA-3 state
    const (
    	dsbyteShake  = 0x1f
    	dsbyteCShake = 0x04
    	rate128      = 168
    	rate256      = 136
    )
    
    func bytepad(input []byte, w int) []byte {
    	// leftEncode always returns max 9 bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top