Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ValueRange (0.18 sec)

  1. src/cmd/vendor/golang.org/x/text/unicode/norm/trie.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package norm
    
    type valueRange struct {
    	value  uint16 // header: value:stride
    	lo, hi byte   // header: lo:n
    }
    
    type sparseBlocks struct {
    	values []valueRange
    	offset []uint16
    }
    
    var nfcSparse = sparseBlocks{
    	values: nfcSparseValues[:],
    	offset: nfcSparseOffset[:],
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

      }
      builder.setInsertionPoint(cluster_func_op);
      auto xla_launch_op = builder.create<TF::XlaLaunchOp>(
          cluster_func_op.getLoc(), cluster_func_op.getResultTypes(),
          /*constants=*/ValueRange({}), ValueRange(non_resource_args),
          ValueRange(resource_args), cluster_func_op.getFuncAttr());
    
      CopyDeviceAndUnderscoredAttributes(cluster_func_op, xla_launch_op);
      cluster_func_op.replaceAllUsesWith(xla_launch_op.getResults());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    var sparse = sparseBlocks{
    	values:  sparseValues[:],
    	offsets: sparseOffsets[:],
    }
    
    // Sparse block lookup code.
    
    // valueRange is an entry in a sparse block.
    type valueRange struct {
    	value  uint16
    	lo, hi byte
    }
    
    type sparseBlocks struct {
    	values  []valueRange
    	offsets []uint16
    }
    
    // lookup returns the value from values block n for byte b using binary search.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

    #include "mlir/IR/IRMapping.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "mlir/IR/ValueRange.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Pass/PassRegistry.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/batchmatmul_to_einsum.cc

        if (op.getAdjX()) std::swap(equation[3], equation[4]);
        if (op.getAdjY()) std::swap(equation[6 + 3], equation[6 + 4]);
    
        rewriter.replaceOpWithNewOp<TF::EinsumOp>(
            op, op.getType(),
            /*inputs=*/ValueRange({input_lhs, input_rhs}),
            /*equation=*/equation);
    
        return success();
      }
    };
    
    #define GEN_PASS_DEF_BATCHMATMULTOEINSUMPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/legalize_jax_random.cc

      auto attr = CustomOption(&builder, "");
      Value random_result =
          builder
              .create<TFL::CustomOp>(TypeRange(result_ty_vec),
                                     ValueRange(result_shape_tensor_vec),
                                     custom_code, attr)
              .getResult(0);
      Value tulple_result = builder.create<stablehlo::TupleOp>(random_result);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

      // a TF op with result type tensor<*xf32> will have a bounded type after
      // fallback legalization.
      auto cast_value = [&](OpBuilder& builder, Type result_type, ValueRange inputs,
                            Location loc) -> Value {
        return builder.create<mlir::tensor::CastOp>(loc, result_type,
                                                    inputs.front());
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top