Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,622 for variable1 (0.12 sec)

  1. pkg/env/var.go

    	BOOL
    	// Variable holds a signed integer.
    	INT
    	// Variables holds a floating point value.
    	FLOAT
    	// Variable holds a time duration.
    	DURATION
    	// Variable holds a dynamic unknown type.
    	OTHER
    )
    
    // Var describes a single environment variable
    type Var struct {
    	// The name of the environment variable.
    	Name string
    
    	// The optional default value of the environment variable.
    	DefaultValue string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/readonly_references_to_resources.mlir

      func.return
    }
    
    // -----
    
    // Test case: No named location found on VariableV2 op.
    
    func.func @f() {
      // expected-error @+1 {{'tf.VariableV2' op expects variable name in '_class' attribute, but got ["unrelated_class"]}}
      %val0 = "tf.VariableV2"() {_class = ["unrelated_class"], container = "", device = "", shape = #tf_type.shape<96>, shared_name = ""} : () -> tensor<96x!tf_type.f32ref>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device_ops.cc

                                  }));
      mutex_lock ml(*variable->mu());
      OP_REQUIRES(
          context,
          !variable->is_initialized || variable->tensor()->dtype() == dtype_,
          errors::InvalidArgument(
              "Trying to assign variable with wrong dtype. Expected ",
              DataTypeString(variable->tensor()->dtype()), " got ",
              DataTypeString(dtype_)));
      variable->is_initialized = true;
      *variable->tensor() = value;
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu-merge-variables-with-execute.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tf-tpu-merge-variables-with-execute %s | FileCheck %s
    
    // Tests that the pass merges only variable reads/writes on the same device.
    
    // CHECK-LABEL: func @merge_same_device_variables
    // CHECK-SAME: %[[ARG_0:.*]]: tensor<*x!tf_type.resource<tensor<32xf32>>>
    // CHECK-SAME: %[[ARG_1:.*]]: tensor<*x!tf_type.resource<tensor<64xf32>>>
    // CHECK-SAME: %[[ARG_2:.*]]: tensor<*x!tf_type.resource<tensor<16xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

    namespace tensorflow {
    namespace parallel_device {
    
    // A helper for performing common operations on variables. A much more
    // restricted stand-in for tf.Variable in Python.
    class Variable {
     public:
      // Construct a Variable from a resource-dtype TFE_TensorHandle and an
      // indication of the dtype of the variable's value.
      //
      // Note that creating this resource-dtype handle can fail, so `Create` is a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 09 01:12:35 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/quantize-variables.mlir

    // RUN: tf-opt %s -tfl-quantize-variables | FileCheck %s
    // RUN: tf-opt %s -tfl-prepare-quantize -tfl-quantize -tfl-post-quantize -tfl-quantize-variables -tfl-quantize -tfl-post-quantize | FileCheck --check-prefix=WHOLE-PASSES %s
    
    // CHECK-LABEL: QuantizeReadVariable
    func.func @QuantizeReadVariable() -> (tensor<1x2x1x3x!quant.uniform<i8:f32, 1.0>>) {
      %1 = "tfl.var_handle"() : () -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/testdata/OptimizerSlotVariableModule/variables/variables.index

    Katherine Wu <******@****.***> 1665621632 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 00:45:05 UTC 2022
    - 369 bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/tests/testdata/simple-model/variables/variables.index

    Andrew Selle <******@****.***> 1626368051 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 144 bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/internal/testdata/SimpleWhileLoop/variables/variables.index

    Cesar Crusius <******@****.***> 1604617403 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 05 23:10:04 UTC 2020
    - 144 bytes
    - Viewed (0)
  10. tensorflow/cc/saved_model/testdata/half_plus_two/00000123/variables/variables.index

    Li Lao <******@****.***> 1481605891 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 05:22:48 UTC 2016
    - 151 bytes
    - Viewed (0)
Back to top