Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,739 for constants_ (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

      }
    };
    
    // Inserts a "quant.qcast" and "quant.dcast" op pair (QDQs) in place of the
    // tf.FakeQyantWithMinMax{Vars|VarsPerChannel|Args}Op
    // before the op being constant folded. Since the constant
    // folding logic will use a "arith.constant" op to replace the
    // "tf.FakeQuantWithMinMaxVarsOp", the "quant.qcast" op is used to preserve
    // the quantization parameters as a TypeAttr and "quant.dcast" op used to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/signal_plan9.go

    // order matters: longer patterns must appear before their prefixes.
    // There are _SIG constants in os2_plan9.go for the table index of some
    // of these.
    //
    // If you add entries to this table, you must respect the prefix ordering
    // and also update the constant values is os2_plan9.go.
    var sigtable = [...]sigTabT{
    	// Traps that we cannot be recovered.
    	{_SigThrow, "sys: trap: debug exception"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 16:25:17 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      }
    }
    
    // Duplicates small constants for each use.
    //
    // In the subsequent graph partitioning, constants for shape inference need to
    // be in the same subgraph. But graph partitioning stops at ops with multiple
    // uses. So here we duplicate small constants for each use so that if a
    // constant is useful for shape inference for multiple subgraphs, they can be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/revived_types/revived_objects.h

      // freed after TFConcreteFunctions, for example.
      gtl::FlatMap<int, std::unique_ptr<Variable>> variables;
      gtl::FlatMap<int, std::unique_ptr<Asset>> assets;
      gtl::FlatMap<int, std::unique_ptr<Constant>> constants;
      gtl::FlatMap<int, std::unique_ptr<TFSignatureDefFunction>>
          signature_def_functions;
      RevivedObjectContainer<TFConcreteFunction> concrete_functions;
      gtl::FlatMap<int, RestoredResource> restored_resources;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 05 23:10:04 UTC 2020
    - 4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/expr.go

    	case constant.Float:
    		i := constant.ToInt(x)
    		if i.Kind() != constant.Int {
    			v, _ := constant.Float64Val(x)
    			return v
    		}
    		x = i
    		fallthrough
    	case constant.Int:
    		if v, ok := constant.Int64Val(x); ok {
    			return v
    		}
    		if v, ok := constant.Uint64Val(x); ok {
    			return v
    		}
    	case constant.String:
    		return constant.StringVal(x)
    	case constant.Bool:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/a.out.go

    	C_MOVCON   // generated by a 16-bit constant, optionally inverted and/or shifted by multiple of 16
    	C_BITCON   // bitfield and logical immediate masks
    	C_ADDCON2  // 24-bit constant
    	C_LCON     // 32-bit constant
    	C_MOVCON2  // a constant that can be loaded with one MOVZ/MOVN and one MOVK
    	C_MOVCON3  // a constant that can be loaded with one MOVZ/MOVN and two MOVKs
    	C_VCON     // 64-bit constant
    	C_FCON     // floating-point constant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/operand.go

    // typexpr    <expr> (               <mode>                    )
    //
    // constant   <expr> (<untyped kind> <mode>                    )
    // constant   <expr> (               <mode>       of type <typ>)
    // constant   <expr> (<untyped kind> <mode> <val>              )
    // constant   <expr> (               <mode> <val> of type <typ>)
    //
    // variable   <expr> (<untyped kind> <mode>                    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/typecheck.go

    		x := r.Val()
    		if constant.Sign(x) < 0 {
    			base.Errorf("invalid slice index %v (index must be non-negative)", r)
    			return false
    		} else if tp != nil && tp.NumElem() >= 0 && constant.Compare(x, token.GTR, constant.MakeInt64(tp.NumElem())) {
    			base.Errorf("invalid slice index %v (out of bounds for %d-element array)", r, tp.NumElem())
    			return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/compute_test.go

    const fakeCurrentEtcdVersion = "3.1.12"
    
    func getEtcdVersion(v *versionutil.Version) string {
    	etcdVer, _, _ := constants.EtcdSupportedVersion(constants.SupportedEtcdVersion, v.String())
    	return etcdVer.String()
    }
    
    const fakeCurrentCoreDNSVersion = "1.0.6"
    
    func TestGetAvailableUpgrades(t *testing.T) {
    
    	// constansts for test cases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. 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)
Back to top