Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for init_values (0.17 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        # updated to these new ssa values before it enters the scope of the loop.
        out_types = []
        init_values = []
        for symbol, ssa_value in zip(loop_carried, ret_ssa_values):
          init, ty = self.symbol_table.lookup(symbol)
          self.symbol_table.insert_symbol(symbol, ssa_value, ty)
          out_types.append(str(ty))
          init_values.append((init, ty))
    
        # Create a new scope in case the local variables are leaked.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        Value operands[] = {op.getInput(), index_values};
        Value init_values[] = {init_value, index_init_value};
        DenseIntElementsAttr reduction_dimensions =
            GetI64ElementsAttr({axis}, &rewriter);
    
        auto reduction = rewriter.create<ReduceOp>(
            loc, llvm::ArrayRef<Value>(operands),
            llvm::ArrayRef<Value>(init_values), reduction_dimensions,
            TypeRange({input_element_type, index_element_type}));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      const auto &init_values_ty = op.getInitValues().getType();
      int n_init_values = init_values_ty.size();
      if (n_init_values != n_inputs) {
        return op.emitOpError() << "Number of inputs (" << n_inputs
                                << ") is different than number of init_values ("
                                << n_init_values << ")";
      }
    
      auto input_ty_0 = inputs_ty[0].cast<ShapedType>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

        const float zp = q_type.getZeroPoint();
    
        auto input_values = input_dequant.getValue();
    
        // mapValues always takes a function returning APInt, even when the output
        // is actually float.
        using DequantizeFuncType = llvm::APInt(const llvm::APInt&);
        auto dequantize_func = [&](const APInt& ap_int_value) -> APInt {
          const int64_t int_value = ap_int_value.getSExtValue();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. tools/packaging/common/gcp_envoy_bootstrap.json

                  "args": {
                    "grpc.http2.max_pings_without_data": {
                      "int_value": 0
                    },
                    "grpc.keepalive_time_ms": {
                      "int_value": 10000
                    },
                    "grpc.keepalive_timeout_ms": {
                      "int_value": 20000
                    }
                  }
                }
              },
              "initial_metadata": [
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_cluster_util_test.cc

          "variable",
      });
    
      EXPECT_EQ(names, expected);
    }
    
    Status MakeLoop(Scope s, Output init_value, absl::string_view loop_name) {
      s = s.NewSubScope(std::string(loop_name));
      ops::internal::Enter enter(s.WithOpName("init_value"), init_value, loop_name);
      ops::Merge merge(s.WithOpName("merge"), {init_value, init_value});
      Output next_iteration =
          ops::NextIteration(s.WithOpName("next_itr"), merge.output);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

        }
    
        if (input_values.hasRank() && output_values.hasRank() &&
            input_values.getRank() != output_values.getRank()) {
          return func.emitError() << "Input " << kValues << " and output "
                                  << kValues << " should have the same rank";
        }
      } else {
        auto input_values = GetInputType(func, kValues);
        if (!RankEquals(input_values, 1) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/while_gradients_test.cc

      }
    
      template <typename T>
      void Run(const std::vector<Input::Initializer>& input_values,
               const std::vector<T>& expected_grad_values) {
        Run<T>(ClientSession(scope_), input_values, expected_grad_values);
      }
    
      template <typename T>
      void Run(const ClientSession& session,
               const std::vector<Input::Initializer>& input_values,
               const std::vector<T>& expected_grad_values,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 27 20:32:17 UTC 2017
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

        %1 = "tf_device.cluster"() ( {
          %init_value = "tf.ReadVariableOp"(%resource_handle)
          "tf.AssignAddVariableOp"(%resource_handle, %init_value)
          %new_value = "tf.ReadVariableOp"(%resource_handle)
          tf_device.return %new_value
        })
        ```
    
        After this pass, the computation would become:
    
        ```mlir
        %resource_handle = "tf.VarHandleOp"()
        %init_value = "tf.ReadVariableOp"(%resource_handle)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathTesting.java

        for (int exponent : asList(2, 3, 4, 9, 15, 16, 17, 24, 25, 30)) {
          int x = 1 << exponent;
          intValues.add(x, x + 1, x - 1);
        }
        intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10
        intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down
        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
Back to top