Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,190 for input1 (0.29 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

          // Collect all the quantized inputs and "clone" the matched op by these
          // inputs.
          SmallVector<Value, 4> inputs;
          inputs.reserve(op_with_region->getNumOperands());
          for (Value operand : op_with_region->getOperands()) {
            const Type operand_type = operand.getType();
            if (mlir::isa<NoneType>(operand_type)) {
              inputs.push_back(operand);
              continue;
            }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

          cost += GetRankedTensorSize(type);
        } else {
          // For unranked tensors, use the max size among the input tensors. This is
          // because the only dynamic information of the function should be the
          // input, so the size of dynamic tensors should be usually capped by
          // inputs' sizes.
          cost += max_arg_size_;
        }
      }
    
      cost_map_[op] = cost;
    }
    
    }  // namespace tfrt_compiler
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. pkg/kube/krt/collection.go

    	o.mu.RLock()
    	defer o.mu.RUnlock()
    	return slices.Clone(o.h)
    }
    
    // multiIndex stores input and output objects.
    // Each input and output can be looked up by its key.
    // Additionally, a mapping of input key -> output keys stores the transformation.
    type multiIndex[I, O any] struct {
    	outputs  map[Key[O]]O
    	inputs   map[Key[I]]I
    	mappings map[Key[I]]sets.Set[Key[O]]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    // L2Loss is lowered using the formula,
    // L2Loss(input) = Sum(input * input) / 2
    
    // TODO(hinsu): Support unranked tensors once b/144593778 is resolved to not
    // cause result type mismatch.
    def LowerL2LossOp :
      Pat<(TF_L2LossOp AnyRankedTensor:$input),
          (TF_DivOp
            (TF_SumOp (TF_MulOp $input, $input),
                      (TF_ConstOp (GetAllAxes $input)),
                      /*keep_dims=*/ConstBoolAttrFalse),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      // TFL lstm only supports time-majored inputs, so if it's not time-majored,
      // we will transpose the inputs and outputs.
      auto time_major_attr = func_op->getAttrOfType<BoolAttr>("tf.time_major");
      if (time_major_attr == nullptr) return failure();
    
      bool time_majored = time_major_attr.getValue();
      auto input_type = mlir::dyn_cast_or_null<RankedTensorType>(input.getType());
      if (!input_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      } else if (sparse_index_vector.type ==
                 tflite::SparseIndexVector_Uint16Vector) {
        const auto& inputs = sparse_index_vector.AsUint16Vector()->values;
        std::vector<int32_t> outputs(inputs.size());
        std::transform(inputs.begin(), inputs.end(), outputs.begin(),
                       [](auto x) { return static_cast<int32_t>(x); });
        return outputs;
      } else if (sparse_index_vector.type ==
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            buildFile << """
    // This is a workaround to bust the JVM's file canonicalization cache
    def f = file("delete-me")
    f.createNewFile()
    f.delete() // invalidates cache
    
    task work {
        inputs.file('in.txt')
        inputs.dir('in-dir')
        def outTxt = file('out.txt')
        def outDir = file('out-dir')
        outputs.file(outTxt)
        outputs.dir(outDir)
        doLast {
            outTxt.text = 'content'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

            executedAndNotSkipped ":customTask"
        }
    
        def "changes to inputs that are excluded by default leave task up-to-date"() {
            def inputDir = file("inputDir").createDir()
            inputDir.file('inputFile.txt').text = "input file"
            inputDir.createDir('something')
    
            buildFile << """
                task myTask {
                    inputs.dir('inputDir')
                    outputs.file('build/output.txt')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      std::vector<TFE_TensorHandle*> compute_fn_inputs;
      TFE_TensorHandle* input_a = TestScalarTensorHandle(ctx, 2.0f);
      TFE_TensorHandle* input_b = TestScalarTensorHandle(ctx, 1.0f);
      compute_fn_inputs.push_back(input_a);
      compute_fn_inputs.push_back(input_b);
    
      TFE_Op* compute_fn_op = TF_ConcreteFunctionMakeCallOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesByGradleFileWatchingIntegrationTest.groovy

                task producer {
                    def inputTxt = file("input.txt")
                    def outputTxt = file("build/output.txt")
                    inputs.files(inputTxt)
                    outputs.file(outputTxt)
                    doLast {
                        outputTxt.text = inputTxt.text
                    }
                }
            """
    
            file("input.txt").text = "input"
            def outputFile = file("build/output.txt")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top