Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 214 for add32a (0.17 sec)

  1. cmd/net.go

    //
    //	':9000' and 'http://localhost:9000/' will return true
    func sameLocalAddrs(addr1, addr2 string) (bool, error) {
    	// Extract host & port from given parameters
    	host1, port1, err := extractHostPort(addr1)
    	if err != nil {
    		return false, err
    	}
    	host2, port2, err := extractHostPort(addr2)
    	if err != nil {
    		return false, err
    	}
    
    	var addr1Local, addr2Local bool
    
    	if host1 == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/math_ops.h

    Status Conj(AbstractContext* ctx, AbstractTensorHandle* const input,
                AbstractTensorHandle** output, const char* name = nullptr,
                const char* raw_device_name = nullptr);
    
    // Returns x + y element-wise.
    Status AddV2(AbstractContext* ctx, AbstractTensorHandle* const x,
                 AbstractTensorHandle* const y, AbstractTensorHandle** z,
                 const char* name = nullptr, const char* raw_device_name = nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    //
    // is lowered to:
    //
    //   %sum0 = "tf.AddV2"(%0, %1)
    //   %result = "tf.AddV2"(%sum0, %2)
    //
    // While
    //
    //   %result = "tf.AddN"(%0, %1, %2, %3, %4)
    //
    // is lowered to:
    //
    //   %sum0 = "tf.AddV2"(%0, %1)
    //   %sum1 = "tf.AddV2"(%2, %3)
    //   %sum2 = "tf.AddV2"(%sum0, %sum1)
    //   %result = "tf.AddV2"(%sum2, %4)
    //
    class LowerAddNOp : public RewritePattern {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

      %cst = arith.constant dense<0.0> : tensor<2x2xf32>
      %0 = "tf.AddV2"(%arg0, %cst) : (tensor<1x2xf32>, tensor<2x2xf32>) -> tensor<2x2xf32>
      func.return %0 : tensor<2x2xf32>
    
      // CHECK-LABEL: DontRemoveTrivialAdd
      // CHECK: %[[CONST:.*]] = arith.constant dense<0.000000e+00> : tensor<2x2xf32>
      // CHECK: %[[RESULT:.*]] = "tf.AddV2"(%arg0, %[[CONST]]) : (tensor<1x2xf32>, tensor<2x2xf32>) -> tensor<2x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/math_grad.cc

    #include "tensorflow/c/experimental/ops/array_ops.h"
    #include "tensorflow/c/experimental/ops/math_ops.h"
    #include "tensorflow/c/experimental/ops/nn_ops.h"
    
    using std::vector;
    using tensorflow::ops::AddV2;
    using tensorflow::ops::Div;
    using tensorflow::ops::DivNoNan;
    using tensorflow::ops::MatMul;
    using tensorflow::ops::Mul;
    using tensorflow::ops::Neg;
    using tensorflow::ops::OnesLike;
    using tensorflow::ops::SqrtGrad;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

      auto rhs_attr = mlir::dyn_cast_or_null<DenseElementsAttr>(operands[1]);
      if (!rhs_attr && !(is_commutative && lhs_attr)) return {};
    
      // Mul and Div ops have identity value one while AddV2 and SubOp have identity
      // value zero.
      const int identity =
          (std::is_same<OpT, MulOp>::value || std::is_same<OpT, DivOp>::value ||
           std::is_same<OpT, RealDivOp>::value)
              ? 1
              : 0;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

    int64_t InferLookupTableFindV2Cost(const CostContext& context,
                                       mlir::TF::LookupTableFindV2Op op) {
      // tf.LookupTableFindV2 ops are usually more costly than tf.AddV2 with the
      // same input size, as it involves more operations like hashing, map lookup,
      // etc.
      constexpr int64_t kLookupTableFindCostScale = 8;
      constexpr int64_t kLookupTableFindStringKeyCostScale = 16;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

            %1 = "tf.Const"() {_xla_outside_compilation = "0", value = dense<1.0> : tensor<f32>} : () -> (tensor<f32>)
            %2 = "tf.Identity"(%1) {_xla_outside_compilation = "0"} : (tensor<f32>) -> (tensor<f32>)
            %3 = "tf.AddV2"(%1, %2) : (tensor<f32>, tensor<f32>) -> (tensor<f32>)
            tf_device.return %3 : tensor<f32>
          }) {num_cores_per_replica = 1, topology =  "", device_assignment =  []} : () -> tensor<f32>
          return %0 : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.td

        num_args: The number of inputs.
        device: The tensorflow device. eg. "/CPU:0"
        op_attrs: The tensorflow attributes excluding the func attrs.
        op_name: The tensorflow op name. eg. "tf.AddV2"
    
        Example:
          tfrt_fallback_sync.createop() key(0) device("/CPU:0")
            "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1)
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 07 21:12:01 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

      %28 = "tf.AddV2"(%27, %3) {device = ""} : (tensor<2x16xi32>, tensor<i32>) -> tensor<2x16xi32>
      %29 = "tf.AddV2"(%17, %28) {device = ""} : (tensor<2x16xi32>, tensor<2x16xi32>) -> tensor<2x16xi32>
      %30 = "tf.GatherV2"(%9, %29, %5) {batch_dims = 0 : i64, device = ""} : (tensor<32x1xf32>, tensor<2x16xi32>, tensor<i32>) -> tensor<2x16x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
Back to top