Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,493 for OP (0.02 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

        Operation *op, const ClusteringPolicySet &policies,
        const std::function<bool(Operation *op)> &filter) {
      // Check that op has no side effects. This guarantees that we will not
      // reorder side-effecting ops during cluster formation.
      if (!isMemoryEffectFree(op)) return std::nullopt;
    
      // Operation rejected by the custom filter.
      if (filter && !filter(op)) return std::nullopt;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy

                assert op.failure instanceof ProjectConfigurationException
                assert op.failure.message == "A problem occurred configuring <project>."
                assert op.failure.cause.is(failureCause)
            } else {
                assert resultType.isInstance(op.result)
                assert op.failure == null
            }
        }
    
        List<TestBuildOperationRunner.Log.Record> getOperations() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize_compile_and_replicate_attributes.cc

      auto walk_result = func_op->walk([&](mlir::Operation* op) {
        // Convert `_tpu_replicate`.
        if (op->hasAttr(TF::kTpuReplicateAttr)) {
          op->setAttr(tensorflow::kReplicationInfoAttr,
                      op->getAttr(TF::kTpuReplicateAttr));
          op->removeAttr(tensorflow::kTpuReplicateAttr);
          op->setAttr(tensorflow::kCompileDeviceTypeAttr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-while-loop.pbtxt

          }
        }
      }
    }
    node {
      name: "while/Less"
      op: "Less"
      input: "while/Merge"
      input: "while/Less/y"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
    }
    node {
      name: "while/LoopCond"
      op: "LoopCond"
      input: "while/Less"
    }
    node {
      name: "while/Switch"
      op: "Switch"
      input: "while/Merge"
      input: "while/LoopCond"
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 18:14:13 UTC 2020
    - 3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/AbstractLongRunningOperationTest.groovy

            op.jvmArguments = null as List
    
            then:
            op.consumerOperationParameters.jvmArguments == null
    
            when:
            op.jvmArguments = null as String[]
    
            then:
            op.consumerOperationParameters.jvmArguments == null
    
            when:
            op.jvmArguments = []
    
            then:
            op.consumerOperationParameters.jvmArguments == null
    
            when:
            op.setJvmArguments()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          operand = rewriter.create<CastOp>(op.getLoc(), tensor_type_f32, operand);
        }
        Value result = rewriter.create<MatMulOp>(
            op.getLoc(), op.getProduct().getType(), operands[0], operands[1],
            op.getTransposeA(), op.getTransposeB());
    
        rewriter.replaceOp(op, {result});
        return success();
      }
    };
    
    // Lowers _UnaryOpsComposition op as a series of original TensorFlow ops that
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  7. tensorflow/c/ops_test.cc

      bool found = false;
      for (const auto& op : op_list.op()) {
        if (op.name() == "AttributeAccessorsOp") {
          ASSERT_TRUE(op.is_commutative());
          ASSERT_TRUE(op.is_aggregate());
          ASSERT_TRUE(op.allows_uninitialized_input());
          ASSERT_EQ(4, op.deprecation().version());
          ASSERT_EQ(deprecation_msg, op.deprecation().explanation());
          ASSERT_EQ(2, op.attr_size());
          ASSERT_EQ("int", op.attr(0).type());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc

      double GetOpCost(mlir::Operation* op) const override {
        int64_t count;
        if (ArithmeticCountUtilHelper::GetFirstOutputCount(op, &count))
          return kGPUArithmeticUnitCost * count;
        return kGPUDefaultFixedValuedCost;
      }
    
      bool IsOpSupported(mlir::Operation* op) const override {
        InferenceType inference_type = GetInferenceType(op);
        if (inference_type != FLOAT) {
          return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

        func.walk([&](mlir::TF::ReadVariableOp op) {
          auto sym = lookupGlobalTensor(func, op.getResource(), syms, opToName);
          success &= !!sym;
          if (!success) return;
          OpBuilder builder(op);
          auto load = builder.create<mlir::ml_program::GlobalLoadOp>(
              op.getLoc(), op.getValue().getType(), sym);
          op.getValue().replaceAllUsesWith(load.getResult());
          op.erase();
        });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> op(
          TFE_NewOp(context, "VarHandleOp", status), TFE_DeleteOp);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrType(op.get(), "dtype", type);
      TFE_OpSetAttrShape(op.get(), "shape", dims, num_dims, status);
      TFE_OpSetAttrString(op.get(), "container", "", 0);
      // Use the special GUID for no buffer sharing
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 15:44:44 UTC 2021
    - 12.5K bytes
    - Viewed (0)
Back to top