Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 614 for itype (0.05 sec)

  1. src/runtime/unsafe.go

    	}
    }
    
    // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeSlice
    func unsafeslice64(et *_type, ptr unsafe.Pointer, len64 int64) {
    	len := int(len64)
    	if int64(len) != len64 {
    		panicunsafeslicelen1(getcallerpc())
    	}
    	unsafeslice(et, ptr, len)
    }
    
    func unsafeslicecheckptr(et *_type, ptr unsafe.Pointer, len64 int64) {
    	unsafeslice64(et, ptr, len64)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/empty-value-attr.pbtxt

          attr {
            key: "dtype"
            value {
              type: DT_FLOAT
            }
          }
          attr {
            key: "value"
            value {
              tensor {
                dtype: DT_FLOAT
                tensor_shape {
                }
                float_val: 7
              }
            }
          }
        }
        ret {
          key: "constant"
          value: "X:output:0"
        }
        # This should be modeled as unit attribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir

          %outputs, %control = tf_executor.island wraps "tf.Const"() {device = "", dtype = f32, value = dense<[]> : tensor<0xf32>} : () -> tensor<0xf32>
          %outputs_0, %control_1 = tf_executor.island wraps "tf.Const"() {device = "", dtype = f32, value = dense<[]> : tensor<0xf32>} : () -> tensor<0xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/constant_loading_test.cc

      // Get test parameters
      auto& test_params = GetParam();
      DataType dtype = std::get<0>(test_params);
      TensorShape shape(std::get<1>(test_params));
      bool tensorproto_use_tensor_content = std::get<2>(test_params);
    
      // Construct a Tensor with the given dtype + shape
      Tensor expected(dtype, shape);
      testing::FillNumericTensorBuffer(expected.dtype(), expected.NumElements(),
                                       expected.data(), 42);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/impl/tensor_spec_test.cc

      tensorflow::PartialTensorShape unknown_shape;
      TensorSpec ts1;
      ts1.shape = unknown_shape;
      ts1.dtype = tensorflow::DT_FLOAT;
    
      TensorSpec ts2;
      ts2.shape = tensorflow::PartialTensorShape({2});
      ts2.dtype = tensorflow::DT_FLOAT;
    
      TensorSpec ts3;
      ts3.shape = tensorflow::PartialTensorShape({1, 2});
      ts3.dtype = tensorflow::DT_FLOAT;
    
      EXPECT_TRUE(absl::VerifyTypeImplementsAbslHashCorrectly({ts1, ts2, ts3}));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/universe.go

    			CheckSize(typ)
    		}
    		return typ
    	}
    
    	for _, s := range &basicTypes {
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	for _, s := range &typedefs {
    		sameas := s.sameas32
    		if PtrSize == 8 {
    			sameas = s.sameas64
    		}
    		SimType[s.etype] = sameas
    
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	// We create separate byte and rune types for better error messages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/end2end/custom_opdef.pbtxt

        key: "dtype"
        value {
          type: DT_INT32
        }
      }
    }
    node {
      name: "input1"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
    }
    versions {
      producer: 27
    }
    
    # CHECK-LABEL: func @main(%arg0: tensor<4xi32>, %arg1: tensor<4xi32>) -> tensor<*xi32>
    # CHECK: attributes {tf.entry_function = {control_outputs = "", inputs = "input0,input1", outputs = "output"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 21 11:04:11 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. src/os/wait6_dragonfly.go

    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 0
    
    func wait6(idtype, id, options int) (status int, errno syscall.Errno) {
    	var status32 int32 // C.int
    	_, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, uintptr(idtype), uintptr(id), uintptr(unsafe.Pointer(&status32)), uintptr(options), 0, 0)
    	return int(status32), errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:25:45 UTC 2022
    - 496 bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_tensor_handle.h

          tensorflow::PartialTensorShape* shape) const = 0;
    
      // Returns tensor (full) type.
      // While there is no immediate plan to deprecate dtype and shape in favor
      // of only using full type type information, this is a future possibility.
      //
      // Note that map_dtype_to_child_of_tensor() from core/framework/types.h
      // can be used to set a FullTypeDef based on dtype in a derived class if
      // appropriate.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:30:36 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

    // RUN: odml-to-stablehlo-opt --compose-uniform-quantized-type \
    // RUN:     --split-input-file --verify-diagnostics %s | FileCheck %s
    
    module {
    // CHECK-LABEL: quantized_conv_op
    // CHECK-SAME: %[[ARG:.*]]: tensor<1x3x3x4xf32>
      func.func @quantized_conv_op(%arg0: tensor<1x3x3x4xf32>) -> tensor<1x3x3x4xf32> {
        %1 = stablehlo.constant dense<1.000000e+03> : tensor<1x1x1x1xf32>  // Input inverse scale.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top