Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for inputs_0 (0.29 sec)

  1. cmd/erasure-metadata_test.go

    	for i = 0; i < 8; i++ {
    		fi := FileInfo{
    			TransitionTier:      inputs[0].tier,
    			TransitionedObjName: inputs[0].remoteObjName,
    			TransitionVersionID: inputs[0].remoteVersionID,
    			TransitionStatus:    inputs[0].status,
    		}
    		ofi := fi
    		if i&(1<<0) != 0 {
    			ofi.TransitionTier = inputs[1].tier
    		}
    		if i&(1<<1) != 0 {
    			ofi.TransitionedObjName = inputs[1].remoteObjName
    		}
    		if i&(1<<2) != 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/tests/pick-subgraphs.mlir

        %0 = func.call @func_0_CPU_QUANTIZED_INT8(%arg0, %arg1, %arg2) {tac.device = "CPU", tac.inference_type = "QUANTIZED_INT8", tac.interface_name = "func_0"} : (tensor<100x!quant.uniform<i8:f32,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    	"istio.io/istio/pkg/workloadapi/security"
    )
    
    func TestPodWorkloads(t *testing.T) {
    	cases := []struct {
    		name   string
    		inputs []any
    		pod    *v1.Pod
    		result *workloadapi.Workload
    	}{
    		{
    			name:   "simple pod not running and not have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/kernels/xla_ops.cc

        // Fetch inputs from the OpKernelContext. Inputs are the same as the ones
        // for XlaCompile, except that the must-be-constant inputs that appear in
        // the beginning are stripped off and the closure key is appended as the
        // last input. So the inputs look like: input tensors, resource variables,
        // closure key tensor.
        std::vector<const Tensor*> inputs = InputsFromContext(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_launch_util.cc

    }
    
    }  // anonymous namespace
    
    std::vector<const Tensor*> InputsFromContext(OpKernelContext* ctx) {
      std::vector<const Tensor*> inputs;
      inputs.reserve(ctx->num_inputs());
      for (int input_idx = 0; input_idx < ctx->num_inputs(); input_idx++) {
        inputs.push_back(&ctx->input(input_idx));
      }
      return inputs;
    }
    
    absl::StatusOr<std::vector<int>> GetConstantInputIndicesFromContext(
        OpKernelContext* ctx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    LogicalResult XlaVariadicSortOp::verify() {
      XlaVariadicSortOp op = *this;
      const auto &inputs_ty = op.getInputs().getType();
      int n_inputs = inputs_ty.size();
      auto input_ty_0 = inputs_ty[0].cast<ShapedType>();
      if (input_ty_0.hasStaticShape()) {
        for (int i = 1; i < n_inputs; ++i) {
          auto input_ty_i = inputs_ty[i].cast<ShapedType>();
          if (input_ty_i.hasStaticShape() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

                          arg_types, arg_locs);
    
      IRMapping mapper;
      // stablehlo_func_op has 1 extra arg for platform index.
      for (auto [input, stablehlo_func_arg] : llvm::zip_equal(
               inputs, stablehlo_func_op.getArguments().take_back(inputs.size()))) {
        mapper.map(input, stablehlo_func_arg);
      }
    
      for (Operation* subgraph_op : llvm::reverse(reverse_subgraph)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

            "TF2XLA TPU bridge input check: packed with number of inputs not 1.")
            << " num_replicas=" << num_replicas << " no. of inputs=" << arity;
        return false;
      } else if (!rep.getIsPacked() && arity != num_replicas) {
        rep.emitOpError(
            "TF2XLA TPU bridge input check: number of inputs inconsistent.")
            << " num_replicas=" << num_replicas << " no. of inputs=" << arity;
        return false;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

        full_output_types.push_back(output.getType());
      }
    
      // Convert split sharded inputs to MANUAL sharded inputs.
      // common_split_sharding is the split sharding that is common to all inputs
      // and outputs.
      llvm::SmallVector<Value, 4> manual_inputs;
      manual_inputs.reserve(inputs.size());
      for (Value in : inputs) {
        Type shard_type;
        if (failed(GetShardShapedType(original_op, num_cores_per_replica,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

      LogicalResult matchAndRewrite(mhlo::BatchNormTrainingOp bn_op,
                                    PatternRewriter &rewriter) const override {
        auto inputs = bn_op.getOperand();
        auto input_type = mlir::dyn_cast<RankedTensorType>(inputs.getType());
        if (!input_type) {
          return failure();
        }
        auto feature_index = bn_op.getFeatureIndex();
    
        // Compute mean
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top