Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,149 for constInt8 (0.22 sec)

  1. src/hash/crc32/gen_const_ppc64le.go

    // This code was written in Go based on the original C implementation.
    
    // This is a tool needed to generate the appropriate constants needed for
    // the vpmsum algorithm.  It is included to generate new constant tables if
    // new polynomial values are included in the future.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    )
    
    var blocking = 32 * 1024
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

          inst->getNumRegions() != 0 || !isMemoryEffectFree(inst)) {
        return false;
      }
    
      // If any of the result types are variants, don't try to constant fold them.
      // This creates opaque variant constants which lose information and would
      // require "raising" later.
      for (const Type type : inst->getResultTypes()) {
        if (const TensorType tensor_type = mlir::dyn_cast<TensorType>(type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            }
                        }
                    }
                }
                if (langSet.size() > 1 && langSet.contains(Constants.ALL_LANGUAGES)) {
                    return new String[] { Constants.ALL_LANGUAGES };
                }
                langSet.remove(Constants.ALL_LANGUAGES);
                return langSet.toArray(new String[langSet.size()]);
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

        auto mutable_quant_method = quant_options_.mutable_quantization_method();
        *mutable_quant_method->add_quantization_component_specs() = quant_spec;
      }
    };
    
    // If a constant is connected to a quantizable op, quantize the constant to have
    // the provided data type.
    class QuantizeConstWeights : public OpRewritePattern<TF::ConstOp> {
     public:
      explicit QuantizeConstWeights(
          MLIRContext* context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        // constant ops.
        pass_manager->addPass(mlir::tf_saved_model::CreateFreezeGlobalTensorsPass(
            /*allow_mutable_tensors=*/pass_config.enable_tflite_variables));
      }
    
      if (!saved_model_dir.empty()) {
        // This pass 'freezes' tf saved model asset ops and inlines as string values
        // in a format of the tf constant op.
        pass_manager->addPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir

        %cst = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
        %cst_0 = "tf.Const"() {value = dense<1.0> : tensor<1x5x5x1024xf32>} : () -> tensor<1x5x5x1024xf32>
        // Check that these constants are remained in constants.
        // CHECK: func private @while_body
        // CHECK-DAG:  %[[CST_0:.*]]= "tf.Const"() <{value = dense<1.000000e+00> : tensor<1x5x5x1024xf32>}> : () -> tensor<1x5x5x1024xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  7. 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)
  8. src/internal/goexperiment/flags.go

    //
    // - Build tag goexperiment.x is set if experiment x (lower case) is
    // enabled.
    //
    // - For each experiment x (in camel case), this package contains a
    // boolean constant x and an integer constant xInt.
    //
    // - In runtime assembly, the macro GOEXPERIMENT_x is defined if
    // experiment x (lower case) is enabled.
    //
    // In the toolchain, the set of experiments enabled for the current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. cni/pkg/log/uds_test.go

    // limitations under the License.
    
    package log
    
    import (
    	"encoding/json"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    	"time"
    
    	"istio.io/istio/cni/pkg/constants"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestUDSLog(t *testing.T) {
    	// Start UDS log server
    	udsSockDir := t.TempDir()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/basic.py

    # CHECK-SAME: producer
    
    
    class TestModule(tf.Module):
    
      def __init__(self):
        super(TestModule, self).__init__()
        self.v42 = tf.Variable(42.0)
        self.c43 = tf.constant(43.0)
    
      # During serialization, the constants are given internal (non-user-accessible, non-semantically-load-bearing) exported names.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top