Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for ClusterFuncOp (0.44 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

                  mlir::StringAttr::get(op->getContext(), hlosharding->ToString()));
    }
    
    mlir::LogicalResult ExtractInputsForLogicalDevices(
        const int num_cores_per_replica,
        mlir::tf_device::ClusterFuncOp cluster_func, mlir::OpBuilder* builder,
        llvm::SmallVectorImpl<llvm::SmallVector<mlir::Value, 4>>* input_list) {
      // Initialize the input list for each logical devices.
      input_list->reserve(num_cores_per_replica);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

          builder->getStringAttr(kFuncAttr),
          mlir::SymbolRefAttr::get(builder->getContext(), outlined_func.getName()));
    
      builder->setInsertionPoint(cluster_op);
      auto cluster_func_op = builder->create<tf_device::ClusterFuncOp>(
          cluster_op.getLoc(), outlined_func.getFunctionType().getResults(),
          live_ins.getArrayRef(), cluster_op->getAttrs());
      cluster_op.replaceAllUsesWith(cluster_func_op);
      cluster_op.erase();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      // Returns whether it's legal to inline a call to a function.
      bool isLegalToInline(Operation* call, Operation* callable,
                           bool wouldBeCloned) const final {
        if (isa<ClusterFuncOp>(call)) return false;
        return true;
      }
    
      // Returns if its legal to inline 'src' region into the 'dest' region
      // attached to a TF Device operation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        func.return %arg0: tensor<3x4xf32>
      }
    }
    
    // -----
    
    // Test that unsupported input sharding type of TPUPartitionedInputV2Op inputs of
    // ClusterFuncOp result in error.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
Back to top