Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,166 for constant_ (0.13 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Ensure constants roundtrip exactly
    
    func.func @bool() -> tensor<4xi1> {
      // CHECK-LABEL: @bool
      // CHECK: value = dense<[false, true, true, false]> : tensor<4xi1>
      %0 = "tfl.pseudo_const"() { value = dense<[false, true, true, false]> : tensor<4xi1> } : () -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/constant-folding-hook.mlir

    // CHECK:         [[CONSTANT:%.*]] = s32[0]{0} constant({})
    // CHECK:         ROOT %tuple.{{[0-9]+}} = (s32[0]{0}, s32[0]{0}) tuple(s32[0]{0} [[CONSTANT]], s32[0]{0} [[CONSTANT]])
    // CHECK:       }
    
    // NO_TUPLES-LABEL: HloModule main
    // NO_TUPLES:       ENTRY %main.{{[0-9+]}} () -> (s32[0], s32[0]) {
    // NO_TUPLES:         [[CONSTANT:%.*]] = s32[0]{0} constant({})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. cmd/build-constants.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "runtime"
    
    // DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
    // set through ‘buildscripts/gen-ldflags.go’.
    var (
    	// GOPATH - GOPATH value at the time of build.
    	GOPATH = ""
    
    	// GOROOT - GOROOT value at the time of build.
    	GOROOT = ""
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/unfold-large-splat-constant.mlir

    // RUN: tf-opt %s -unfold-large-splat-constant | FileCheck %s
    
    // CHECK-LABEL: @unfold_large_constant_splat
    func.func @unfold_large_constant_splat() -> (tensor<10x10xf32>, tensor<1000x1000xf32>) {
      %0 = arith.constant dense<0.00000e+00> : tensor<10x10xf32>
      %1 = arith.constant dense<1.00000e+00> : tensor<1000x1000xf32>
      func.return %0, %1 : tensor<10x10xf32>, tensor<1000x1000xf32>
    
      // CHECK-DAG: %cst = arith.constant dense<0.000000e+00> : tensor<10x10xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 26 23:53:32 UTC 2022
    - 781 bytes
    - Viewed (0)
  5. internal/config/constants.go

    Pedro Juarez <******@****.***> 1704126993 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 01 16:36:33 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-constant.mlir

    module {
      func.func @main() -> tensor<1xi64> {
      %0 = "tfl.custom"() {custom_code = "stablehlo.constant", custom_option = #tfl<const_bytes : "0x76616C75650001020109010101062C022401">} : () -> tensor<1xi64>
      func.return %0 : tensor<1xi64>
      }
    }
    
    // CHECK:  module {
    // CHECK-NEXT:    func @main() -> tensor<1xi64> {
    // CHECK-NEXT:    %[[c0:.+]] = stablehlo.constant dense<2> : tensor<1xi64>
    // CHECK-NEXT:    return %[[c0]] : tensor<1xi64>
    // CHECK-NEXT:    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 574 bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/kernels/xla_ops.h

    namespace tensorflow {
    
    
    // XlaLocalLaunchBase is almost the same as XlaLocalLaunchOp.
    // The only difference is that it does not require arguments to follow
    // the "constants, then regular args, then resources" order.
    // It takes vectors of constant and resource arguments explicitly.
    // It does not have corresponding OpDef because it is never present
    // in the GraphDef.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 23:44:26 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/testdata/generate_chunked_models.py

    SPLITTER_TESTDATA_PATH = flags.DEFINE_string(
        "path", None, help="Path to testdata directory.")
    
    
    def generate_non_chunked_model(non_chunked_dir: str):
      root = module.Module()
      root.c = constant_op.constant(np.random.random_sample([150, 150]))
      constants.debug_set_max_size(80000)
      root.get_c = def_function.function(lambda: root.c)
      signatures = root.get_c.get_concrete_function()
      save.save(root, non_chunked_dir, signatures=signatures,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/constants.go

    Dmitri Shuralyov <******@****.***> 1697571594 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 318 bytes
    - Viewed (0)
  10. src/internal/syscall/unix/constants.go

    Kir Kolyshkin <******@****.***> 1717102840 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 434 bytes
    - Viewed (0)
Back to top